comma_sep | R Documentation |
Adds separating commas to big numbers. If a value is not numeric it will return the value unchanged and as a string.
comma_sep(number, nsmall = 0L)
number |
number to be comma separated |
nsmall |
minimum number of digits to the right of the decimal point |
string
comma_sep(100)
comma_sep(1000)
comma_sep(3567000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.