Files Corresponding to Short Course Programming in R
(letter) is the (nth) letter of the alphabet.
at each iteration.
letters
vector to get the letters and
scales::ordinal(1:26)
to create a vector of the numbers with
suffixes.paste()
function.print()
function.For example,
print(paste(letters[1], "is the", scales::ordinal(1), "letter of the alphabet."))