Skip to contents

just_nums takes a numeric value and returns a character equivalent with the correct suffix, e.g. 'th', 'nd' etc.

Usage

just_nums(n)

Arguments

n

numeric value for day of month.

Value

A character value with correct suffix.

Author

Bart Huntley, bart.huntley@dbca.wa.gov.au

For more details see https://dbca-wa.github.io/rivRmon/index.html the rivRmon website

Examples

 if (FALSE) { # \dontrun{
just_nums(n = 2)} # }