Description Usage Arguments Value See Also Examples
Bin a vector into n intervals in regard with its value range. The vector x is split into n bins within [min(x), max(x)], and bin index is given by checking the bin [bin_min, bin_max) into which data points in x fall.
1 |
x |
A vector to bin |
n |
Number of bins |
type |
Interval representation form, c("i", "c") |
Interval index if type is "i"; interval center point if type is "c".
Other converting functions: rangebinc
;
vbingrid
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.