Convert numbers like 0.421 to 42.1%
1 | as.perc(x, digits = 1)
|
x |
a vector of floating point numbers |
digits |
to how many decimal digits shall the percentage be rounded? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.