bin_quantity_labeled | R Documentation |
Creates a vector of human readable bins based by specifying the number of bins in advance
bin_quantity_labeled(values, qty_bins, boundary = 0, FUN, ...)
values |
The vector/column of values you want to bin |
qty_bins |
The number of ntiles you want to have |
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
bin_quantity_labeled(values = mtcars$mpg, qty_ntiles = 4, FUN = format_currency, currency = "GBP")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.