ordinal_format {scales} | R Documentation |
Ordinal formatter: add ordinal suffixes (-st, -nd, -rd, -th) to numbers.
ordinal_format(x) ordinal(x)
x |
a numeric vector to format |
a function with single paramater x, a numeric vector, that returns a character vector
ordinal_format()(1:10) ordinal(1:10)