Integers into English

Share:

Description

Translates integer vectors into character strings representing their expression in the English language.

Usage

1
2
## S3 method for class 'english'
as.character(x, ...)

Arguments

x

A numeric vector of class english.

...

Currently unused.

Details

Uses a recursive algorithm to translate numbers into their expression in English.

Value

A character string vector

Author(s)

John Fox, with minor extensions by Bill Venables.

References

See original note by John Fox at http://tolstoy.newcastle.edu.au/R/help/05/04/2715.html.

See Also

english, as.english, print.english.

Examples

1
as.character(english(10001001 + 1:10))