stndth: Find the 'st, 'nd, or 'th of a value

View source: R/NMFSReports.R

stndthR Documentation

Find the 'st, 'nd, or 'th of a value

Description

Find the 'st, 'nd, or 'th of a value

Usage

stndth(x)

Arguments

x

a value you want the 'st, 'nd, or 'th of

Value

a character string of the appropriate 'st, 'nd, or 'th

Examples

stndth(3)
stndth(11)
stndth(112)
stndth(x = c(1120, 12))

EmilyMarkowitz-NOAA/NMFSReports documentation built on March 26, 2023, 1:08 a.m.