f_comma {numform} | R Documentation |
Comma Format Large Integers
Description
Add commas to larger integers.
Usage
f_comma(x, mark = ",", prefix = "", ...)
ff_comma(...)
Arguments
x |
A vector of numbers (or string equivalents). |
mark |
The character to include every n places. |
prefix |
A string to append to the front of elements. |
... |
Other arguments passed to |
Value
Returns a comma separated string of publication ready digits.
See Also
Examples
set.seed(4)
f_comma(sample(4:10, 5)^5)
f_comma(c(1234.12345, 1234567890, .000034034, 123000000000, -1234567))
[Package numform version 0.7.0 Index]