| numbers2words | R Documentation | 
Converts a number into its corresponding words in English THIS FUNCTION WAS PUBLISHED IN: R-News, vol 5, iss 1, May 2005, pp. 51 Original author: John Fox, Department of Sociology, McMaster University, Hamilton, Ontari Canada L8S 4M4, 905-525-9140x23604 http://socserv.mcmaster.ca/jfox http://cran.csiro.au/doc/Rnews/Rnews_2005-1.pdf http://finzi.psych.upenn.edu/R/Rhelp02a/archive/46843.html
numbers2words(
  x,
  billion = c("US", "UK"),
  and = if (billion == "US") "" else "and"
)
| x | number | 
| billion | follow either US or UK usage rules | 
| and | follows the choice set in billion arg | 
string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.