View source: R/formatting_helpers.R
| format_vector | R Documentation |
Create a vector of formatted values
format_vector(
values,
type = c("currency", "downloads", "percent", "users", "retention", "arpu"),
...
)
values |
Numeric vector to format |
type |
Type of formatting: "currency", "downloads", "percent", "users" |
... |
Additional arguments passed to formatting function |
Character vector of formatted values
format_vector(c(1234567, 2345678), "currency")
format_vector(c(0.234, 0.456), "percent")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.