numform (version 0.5.0)

f_ordinal: Add Ordinal Suffixes (-st, -nd, -rd, -th) to Numbers

Description

Add ordinal suffixes (-st, -nd, -rd, -th) to numbers.

Usage

f_ordinal(x, ...)

ff_ordinal(...)

Arguments

x

A vector of numbers (or string equivalents).

ignored.

Value

Returns a string vector with ordinal suffixes.

Examples

Run this code
# NOT RUN {
f_ordinal(1:10)
# }

Run the code above in your browser using DataLab