twApply3DMesh: twApply3DMesh

Description Usage Arguments Details Value Author(s) See Also

View source: R/plotTwMisc3D.R

Description

Applying FUN over cube-grid 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 xyz.coords

y
z
FUN
argsFUN
dims

integer vector of length 1 or 3: number of points

knotSpacing

method for calulating the knots

quantile

cutQuantiles for breaks of intervals holding about equal number of points, includes edges (default)

midquantile

cutQuantiles for midpoints of intervals holding about equal number of points, by excluding the edges the sample is represented better

all

take all the provided xyz coordinates (overwrites nKnots)

equidistant

cover the range of dimension i by nKnots equidistant points

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 z-variable, 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

Author(s)

Thomas Wutzler

See Also

plot.twApply3DMesh

twPairs, twMisc


twMiscRgl documentation built on May 31, 2017, 1:31 a.m.

Search within the twMiscRgl package
Search all R packages, documentation and source code