ordinal_format

0th

Percentile

Ordinal formatter: add ordinal suffixes (-st, -nd, -rd, -th) to numbers.

Ordinal formatter: add ordinal suffixes (-st, -nd, -rd, -th) to numbers.

Usage
ordinal_format(x)

ordinal(x)

Arguments
x
a numeric vector to format
Value

  • a function with single paramater x, a numeric vector, that returns a character vector

Aliases
  • ordinal
  • ordinal_format
Examples
ordinal_format()(1:10)
ordinal(1:10)
Documentation reproduced from package scales, version 0.2.5, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.