Description Usage Arguments Value Examples
This function divides v uniformly into nbin and finds the lower bound and upper bound for each bin.
Of limited interest to most users; function binning() would typically be called by some other functions.
1 |
v |
A vector of numbers. |
nbin |
Number of bins. |
range |
A vector of two numbers indicating the range of elements in v. |
b |
A vector with length length(v), giving which bin each element of v belongs to. |
s |
A vector with length nbin, giving the lower bound defining each bin. |
e |
A vector with length nbin, giving the upper bound defining each bin. |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.