cell3d.corregp: 3D Confidence Ellipsoids for Correspondence Regression

Description Usage Arguments Details Value See Also Examples

View source: R/corregp.r

Description

Method to compute 3D confidence ellipsoids for coordinates in correspondence regression.

Usage

1
2
3
4
## S3 method for class 'corregp'
cell3d(object, parm = "x", axes = 1:3, cl = 0.95, ...)

cell3d(object, ...)

Arguments

object

The output of a call to corregp (i.e. an object of class "corregp").

parm

The parameter for which to compute the confidence ellipsoids. Can be either "y", "x", or any vector of term names in X, level names in X or level names in Y. Defaults to "x".

axes

The axes for which to compute the confidence ellipsoids: a vector of three values. Defaults to the first three axes.

cl

The confidence level for the confidence ellipsoids. Defaults to 0.95.

...

Further arguments passed to or from other methods.

Details

cell3d (of a corregp output) makes use of ellipse3d from the package rgl.

Typically, cell3d is not so much used directly as it is called by a plot3d.corregp command.

Value

A list containing coordinate points for each confidence ellipsoid of interest.

See Also

plot3d.corregp.

Examples

1
2
3
4
5
6
7
## Not run: 
data(HairEye)
haireye.crg <- corregp(Eye ~ Hair * Sex, data = HairEye, b = 3000)
cell3d(haireye.crg, parm = "y")
cell3d(haireye.crg, parm = c("Hair", "Sex"))

## End(Not run)

corregp documentation built on Aug. 7, 2017, 1:03 a.m.