powered by
Translates integer vectors into character strings representing their expression in the English language.
# S3 method for english as.character(x, ...)
A numeric vector of class english.
english
Currently unused.
A character string vector
Uses a recursive algorithm to translate numbers into their expression in English.
See original note by John Fox in the Programmers Niche section of https://cran.r-project.org/doc/Rnews/Rnews_2005-1.pdf.
english, as.english, print.english.
as.english
print.english
# NOT RUN { oneOone <- english(101, UK = FALSE) as.character(oneOone) as.character(as.english(oneOone, UK = TRUE)) as.character(oneOone + 1:10) # }
Run the code above in your browser using DataLab