Description Usage Arguments Value See Also Examples
Bin bivariate data x
1 | bin2(x, ab, nbin)
|
x |
(input matrix with 2 columns) data sample |
ab |
(input 2 x 2 matrix) rows 1 and 2 contain x and y axis bin intervals, respectively. If not specified, the ranges are stretched by 5% at each end for each dimension. |
nbin |
(input vector of length 2) number of bins along x and y axes. Default is 20 by 20. |
bin2
returns a list including the bivariate bin matrix
and the number of points outside the ab rectangle.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.