Description Usage Arguments Value See Also Examples
Function to compute array of bin counts for a data vector
1 | bin1(x, ab, nbin=50)
|
x |
(input) data vector |
ab |
(input vector of length 2): half-open interval for bins [a,b). If no value is specified, the range of x is stretched by 5% at each end and used the interval. |
nbin |
(input integer): number of bins desired. Default 50. |
bin1
returns a list including the vector of integer bin counts and
the ab vector and the number of points outside the ab interval.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.