Description Usage Arguments Details Value Author(s) See Also
Applying FUN over x-y grid that is adapted to the density of x,y values.
1 2 3 4 | twApply2DMesh(x, y = NULL, FUN = "+", argsFUN = list(),
dims = 20, knotSpacing = c(midquantile = "midquantile",
quantile = "quantile", all = "all", equidistant = "equidistant"),
label = deparse(substitute(FUN)), ...)
|
x |
range of x and y ordinate see |
y |
|
FUN |
|
argsFUN |
|
dims |
integer vector of length 1 or 2: number of points in each dimension |
knotSpacing |
method for calulating the knots
|
label |
|
... |
further arguments passed to FUN |
Note that knotSpacing default is "midquantile",
so x and y do not specify the real coordinates (only with knotSpacing=all),
but dims
coordinates are calculated based on the density
Note that with "midquantile", the grid does not cover the full range
but the grid spacing is representative of the marginal distributions
list of class twApply2DMesh with itmes
mesh:matrix with each row one coordinate and two columns corresponding to x and y
fval: the two dimensional array of evaluated function values
label: argument label describing fval
rangeOrig: list with items x, and y with the range of the original sample
Thomas Wutzler
twPairs
, twMisc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.