powered by
Add commas to larger integers.
f_comma(x, mark = ",", prefix = "", ...)ff_comma(...)
ff_comma(...)
A vector of numbers (or string equivalents).
The character to include every n places.
A string to append to the front of elements.
Other arguments passed to prettyNum.
prettyNum
Returns a comma separated string of publication ready digits.
# NOT RUN { set.seed(4) f_comma(sample(4:10, 5)^5) f_comma(c(1234.12345, 1234567890, .000034034, 123000000000, -1234567)) # }
Run the code above in your browser using DataLab