denominator {nombre} | R Documentation |
Convert numbers to denominator character vectors (whole, half, third)
Description
Convert numbers to denominator character vectors (whole, half, third)
Usage
denominator(x, numerator = 1, quarter = TRUE, ...)
nom_denom(x, numerator = 1, quarter = TRUE, ...)
Arguments
x |
A numeric vector |
numerator |
A numeric vector.
The numerator(s) associated with the denominator(s).
When |
quarter |
A logical of length one.
If |
... |
Additional arguments passed to |
Value
A character vector of the same length as x
See Also
Other number names:
adverbial()
,
cardinal()
,
collective()
,
numerator()
,
ordinal()
,
ratio()
Examples
nom_denom(2)
nom_denom(1:10)
nom_denom(1:10, numerator = 2)
nom_denom(1:10, numerator = 1:10)
nom_denom(4)
nom_denom(4, quarter = FALSE)
nom_denom(1:10, numerator = 2, cardinal = FALSE)
nom_denom(5:15, numerator = 2, max_n = 10)
[Package nombre version 0.4.1 Index]