cell3d.corregp: 3D Confidence Ellipsoids for Correspondence Regression

Description Usage Arguments Details Value See Also Examples

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
data(HairEye)
haireye.crg <- corregp(Eye ~ Hair * Sex, data = HairEye, b = 3000)
cell3d(haireye.crg, parm = "y")
cell3d(haireye.crg, parm = c("Hair", "Sex"))

corregp documentation built on May 1, 2019, 10:08 p.m.