Skip to contents

This function is originally from numform::f_ordinal().

Usage

ordinal_gen(x)

Arguments

x

Vector of numbers. Could be a string equivalent

This is how you use it

kindling:::ordinal_gen(1:10)

Note: This is not exported into public namespace. So please, refer to numform::f_ordinal() instead.

References

Rinker, T. W. (2021). numform: A publication style number and plot formatter version 0.7.0. https://github.com/trinker/numform