0129132人目の素数さん垢版2017/10/07(土) 17:31:13.11ID:O5mMfwME >>128 それだと、11が11stになっておかしいだろ > library(toOrdinal) > toOrdinal(21) [1] "21st" > sapply(1:20, toOrdinal) [1] "1st" "2nd" "3rd" "4th" "5th" "6th" "7th" "8th" "9th" "10th" [11] "11th" "12th" "13th" "14th" "15th" "16th" "17th" "18th" "19th" "20th"