thousands_format: Thousands formatter: format number with commas separating the number thousands and suffixed with a k.
Based heavily on the scales work by Hadley
Description
Thousands formatter: format number with commas separating the number thousands and suffixed with a k.
Based heavily on the scales work by Hadley
Usage
thousands_format()
thousands(x)
Arguments
x
a numeric vector to format
Value
a function with single paramater x, a numeric vector, that
returns a character vector