powered by
Generates character strings of the ordinal version of numbers in English words.
ordinal(x, ...)# S3 method for english ordinal(x, ...)# S3 method for numeric ordinal(x, ...)# S3 method for character ordinal(x, ...)# S3 method for ordinal print(x, ...)
# S3 method for english ordinal(x, ...)
# S3 method for numeric ordinal(x, ...)
# S3 method for character ordinal(x, ...)
# S3 method for ordinal print(x, ...)
A numeric vector, usually integer, or an object of class "ordinal"
Ignored. Included only for compatibility.
A character string vector of ordinal versions of the number, with S3 class "ordinal"
# NOT RUN { ordinal(1:12) # }
Run the code above in your browser using DataLab