Description Usage Arguments Value
Execute binning for numerical data.
1 | executeBinning(x_vec, breaks = NULL, nbin.max = 100, method = "freq")
|
x_vec |
an integer or numeric or ordered vector, to be binned. |
breaks |
a numeric vector which indicates the boundaries of bins, of length (number of bins - 1).
If NULL is set, bins are generated using the method which is specified by the |
nbin.max |
a maximum number of bins which is generated by this function. Only used when |
method |
used for specifying binning method. "freq": equal freq binning (default), "width": equal width binning.
Ignore if |
a list which has two members labels
and breaks
.
labels
: an integer vector of length(x_vec)
.
(labels[i]==k)
indicates the i-th element of x_vec is in the k-th bin.
breaks
: a numeric vector which indicates the boundaries of bins, of length (number of bins - 1).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.