bin_width_labeled | R Documentation |
Creates a vector of human readable bins based on width
bin_width_labeled(values, width, boundary = 0, FUN, ...)
values |
The vector/column of values you want to 'ntile' |
width |
The width of the bins |
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_width_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.