A function for turning numeric input into its corresponding character string.

numbers2words(x)

Arguments

x

Integer number to be converted into text/strings

Value

Character strings representing numbers

References

  • http://tolstoy.newcastle.edu.au/R/help/05/04/2715.html

  • https://gist.github.com/psychemedia/150cb9901529da58124a

Examples

numbers2words(2L)
#> [1] "two"