Comma | R Documentation |
scales::comma
Faster version of scales::comma
Comma(x, digits = 0L, big.mark = c(",", " ", "'", "_", "~", "\"", "/"))
x |
A numeric vector. |
digits |
An integer, similar to |
big.mark |
A single character, the thousands separator. |
Similar to prettyNum(round(x, digits), big.mark = ',')
but rounds down
and -1 < x < 0
will output "-0"
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.