Description Usage Arguments Details Value Author(s) See Also
Applying FUN over cubegrid of x,y,z values
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)), ...)

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 
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
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
Thomas Wutzler
twPairs
, twMisc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.