bin_2d | R Documentation |
Bin values in two dimensions based on a vector of breaks in each dimension. Values are included in a bin if they are >= the left break and < the right break. Default breaks are chosen to encompass all the data.
bin_2d(x, y, x_breaks = NULL, y_breaks = NULL)
x, y |
first and second dimensions of values to bin. |
x_breaks, y_breaks |
set of breaks in x- and y-dimensions. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.