spell_out | R Documentation |
Spell out an integer as a word, for use in reports/papers.
spell_out(number, capitalize = FALSE, max_value = 9)
number |
A number that is to be spelled out (can be a vector). |
capitalize |
If TRUE, capitalize the first letter. |
max_value |
Maximum value to use (generally 9); if larger than this, use numerals. |
Character string (or vector of character strings) with numbers spelled out, or as numerals if large.
spell_out(9)
spell_out(9, cap=TRUE)
spell_out(9, max_value=5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.