View source: R/hyphenateWords.R
hyphenateWords | R Documentation |
Function to convert numbers to hyphenated (English) words, e.g. 87 to "eighty-seven"
hyphenateWords(x, capitalise = FALSE)
x |
numeric |
capitalise |
logical |
character
Started before 5.iv.21
Chris Evans
convertVector2sentence
for another utility function for text, converts vectors to comma (or other symbol), separated clauses, e.g. 1:3 to "1, 2 and 3".
Other text utilities:
convertVector2sentence()
hyphenateWords(87)
hyphenateWords(87, capitalise = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.