powered by
Convert numbers to adverbial character vectors (once, twice, three times)
adverbial(x, thrice = getOption("nombre.thrice", FALSE), ...)nom_adv(x, thrice = getOption("nombre.thrice", FALSE), ...)nom_times(x, thrice = getOption("nombre.thrice", FALSE), ...)
nom_adv(x, thrice = getOption("nombre.thrice", FALSE), ...)
nom_times(x, thrice = getOption("nombre.thrice", FALSE), ...)
A numeric vector
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 TRUE. Default can be changed by setting options("nombre.thrice").
TRUE
3
FALSE
options("nombre.thrice")
Additional arguments passed to cardinal()
cardinal()
A character vector of the same length as x
x
Other number names: cardinal(), collective(), denominator(), ordinal()
collective()
denominator()
ordinal()
# NOT RUN { nom_adv(1:4) nom_adv(1:4, thrice = TRUE) # }
Run the code above in your browser using DataLab