compute_stat: Compute a statistical transformation

Description Usage Arguments

View source: R/compute.R

Description

Compute a statistical transformation

Usage

 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)

Arguments

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 x.


hadley/ggstat documentation built on May 17, 2019, 10:40 a.m.