Description Usage Arguments Value
bin_variable() is a function that creates bins of either equal interval length of equal size (quartiles)
1 2 3 4 5 6 7 8 |
x |
numeric vector, variable to be binned |
min |
numeric, where to start binning |
max |
numeric, where to end binnig |
int |
numeric, interval length of bins |
quant |
interger, number of quantiles |
center |
logical (default = FALSE), if TRUE then bins are centered around seq(min, max, int), otherwise, min is right bound of the bottom bin etc... |
vector of bin labels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.