twApply3DMesh
Description
Applying FUN over cubegrid of x,y,z values
Usage
1 2 3 4 5 6 7 8 9 10  twApply3DMesh(x, y = NULL, z = NULL, FUN = "+", argsFUN = list(),
dims = 5, knotSpacing = c(quantile = "quantile", midquantile = "midquantile",
all = "all", equidistant = "equidistant"), nSample = 0,
label = deparse(substitute(FUN)), ...)

Arguments
x 
range of x,y and z ordinate see 
y 

z 

FUN 

argsFUN 

dims 
integer vector of length 1 or 3: number of points 
knotSpacing 
method for calulating the knots

nSample 
number of points to sample from xyz in addition to grid Results will be provided in dataframe of four coloumns with attribute "sample". 
label 
label of the zvariable, stored in attribute label 
... 
further arguments passed to FUN 
Details
note that knotSpacing default is "quantile", which differs from the 2D version
the edges are not representative of the sample, but the grid spans the full space of the sample
Value
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
sample: data frame with four columns corresponding to points additional to the grid
label: argument label describing fval
rangeOrig: list with items x, and y with the range of the original sample
Author(s)
Thomas Wutzler
See Also
plot.twApply3DMesh
twPairs
, twMisc
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.