comma_format

0th

Percentile

Comma formatter: format number with commas separating thousands.

Comma formatter: format number with commas separating thousands.

Usage
comma_format(...)
Arguments
...
other arguments passed on to formatC
Value

  • a function with single paramater x, a numeric vector, that returns a character vector

Aliases
  • comma
  • comma_format
Examples
comma_format()(c(1, 1e3, 2000, 1e6))
comma_format(digits = 9)(c(1, 1e3, 2000, 1e6))
comma(c(1, 1e3, 2000, 1e6))
Documentation reproduced from package scales, version 0.1.0, License: MIT

Community examples

Looks like there are no examples yet.