Description Usage Arguments Value History/development log Author(s) See Also Examples
View source: R/hyphenateWords.R
Function to convert numbers to hyphenated (English) words, e.g. 87 to "eighty-seven"
1 | 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()
1 2 | hyphenateWords(87)
hyphenateWords(87, capitalise = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.