Description Usage Arguments Value
Given a numeric vector, format it as percent, implicitly changing it to a string.
1 | as.percent(x, digits = 2)
|
x |
a numeric vector to be formatted |
digits |
a single numerical value determining how many digits should be shown |
a vector of strings formated as percent, with commas and percent signs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.