Compute a statistical transformation
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## S3 method for class 'bin_2d_fixed'
compute_stat(params, x, y, ..., w = NULL)
## S3 method for class 'bin_hex'
compute_stat(params, x, y, ..., w = NULL)
## S3 method for class 'bin_fixed'
compute_stat(params, x, ..., w = NULL)
## S3 method for class 'bin_breaks'
compute_stat(params, x, ..., w = NULL)
compute_stat(params, x, ..., w = NULL)
|
params |
A parameter object generated by of the other functions in this packagea |
x |
X position. This is required by all stats. |
y |
Y position. This is required by all 2d stats. |
... |
Additional arguments passed on to stat. |
w |
Optional weights. If supplied, must be a numeric vector the
same length as |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.