View source: R/darkly_format.R
Format helper function for labels
1 | darkly_format(x, labelx, n.decimals = 2)
|
x |
input vector frame requires input |
labelx |
label identifier, takes "round" or "percent', all others default to character |
n.decimals |
when labelx=round digits parameter for round(), when labelx=percent accuracy parameter for scales::percent() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.