Learn R Programming

nombre (version 0.2.0)

collective: Convert numbers to collective character vectors (the, both, all three)

Description

Convert numbers to collective character vectors (the, both, all three)

Usage

collective(x, ...)

nom_coll(x, ...)

Arguments

x

A numeric vector

...

Additional arguments passed to cardinal()

Value

A character vector of the same length as x

See Also

Other number names: adverbial(), cardinal(), denominator(), ordinal()

Examples

Run this code
# NOT RUN {
paste(nom_coll(0:3), "fish")
paste(nom_coll(9:12, max_n = 10), "fish")
# }

Run the code above in your browser using DataLab