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

Description Usage Arguments Value Examples

View source: R/f_ordinal.R

Description

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

Usage

1
2
3

Arguments

x

A vector of numbers (or string equivalents).

...

ignored.

Value

Returns a string vector with ordinal suffixes.

Examples

1
f_ordinal(1:25)

numform documentation built on Oct. 10, 2021, 1:10 a.m.