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