search for: numbers2words

Displaying 2 results from an estimated 2 matches for "numbers2words".

2010 Dec 05
1
Converting numbers into words
Example data desk=data.frame( deskchoice=c('mid','mid','left','bookdrop','mid','bookdrop') ) -- I like doing stuff like the line below, especially when I'm using Sweave. print(paste('Within the observation period,',nrow(desk), 'patrons approached the circulation desk.')) -- But what if I want to put it at the beginning of a
2008 Mar 03
3
R function to convert a number to text
hi, Dear R users - I wonder is there a written R function to convert a number to a text, say convert 1 to "one" , 100 to "one hundred". I know in xls. has such a function BAHTTEXT, does anybody know is there a similar function in R ? Thanks. Lin --------------------------------- [[alternative HTML version deleted]]