View source: R/supporting_functions.R
comma | R Documentation |
Takes a numeric value and returns a character value
which is rounded to the whole number, and adds a comma
separator at the thousands. A convenient wrapper function
around round()
and format()
.
comma(x)
x |
A numeric value |
Returns a formatted string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.