powered by
Based heavily on the scales work by Hadley
thousands_format()thousands(x)
thousands(x)
a numeric vector to format
a function with single paramater x, a numeric vector, that returns a character vector
Other helper: CJ.dt(), convertToXML(), generatePDF(), pounds_format(), sanitise(), wordwrap()
CJ.dt()
convertToXML()
generatePDF()
pounds_format()
sanitise()
wordwrap()
# NOT RUN { thousands_format()(c(1, 1e3, 2000, 1e6)) thousands_format()(c(1, 1e3, 2000, 1e6)) thousands(c(1, 1e3, 2000, 1e6)) # }
Run the code above in your browser using DataLab