View source: R/btools_formatting.r
f_comma | R Documentation |
f_comma
comma format - calls scales::label_comma
f_comma(num, ...)
num |
numeric vector to format |
... |
arguments passed to scales::label_comma |
format the vector using scales::label_comma
formatted values as a character vector.
f_comma(1.2345) f_comma(1.2345, scale=1000) f_comma(1.2345, scale=1000, accuracy=0.01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.