label_intervals | R Documentation |
Creates a vector of human readable bins
label_intervals(values, intervals, FUN, ...)
values |
The original values |
intervals |
The created intervals |
FUN |
The function you want to use to apply formatting |
... |
The parameters you'd want to pass on to the formatting function supplied to FUN |
Ordered factor
label_intervals(vec_values = mtcars$mpg, intervals, FUN = format_currency, currency = "GBP")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.