R/thousands.R
thousands_format.RdBased heavily on the scales work by Hadley
thousands_format() thousands(x)
| 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
#> [1] "0k" "1k" "2k" "1,000k"#> [1] "0k" "1k" "2k" "1,000k"#> [1] "0k" "1k" "2k" "1,000k"