adverbial {nombre}R Documentation

Convert numbers to adverbial character vectors (once, twice, three times)

Description

Convert numbers to adverbial character vectors (once, twice, three times)

Usage

adverbial(x, thrice = FALSE, ...)

nom_adv(x, thrice = FALSE, ...)

nom_times(x, thrice = FALSE, ...)

Arguments

x

A numeric vector

thrice

A logical of length one. If TRUE, the adverbial of 3 will be "thrice". If FALSE, the adverbial of 3 will be "three times". Defaults to FALSE.

...

Additional arguments passed to cardinal()

Value

A character vector of the same length as x

See Also

Other number names: cardinal(), collective(), denominator(), numerator(), ordinal(), ratio()

Examples

nom_adv(1:4)
nom_adv(1:4, thrice = TRUE)

[Package nombre version 0.4.1 Index]