cell.corregp: Confidence Ellipses for Correspondence Regression

Description Usage Arguments Details Value See Also Examples

Description

Method to compute confidence ellipses for coordinates in correspondence regression.

Usage

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

cell(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 ellipses. 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 ellipses: a vector of two values. Defaults to the first two axes.

cl

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

np

The number of points to represent the confidence ellipses. Defaults to 100.

...

Further arguments passed to or from other methods.

Details

cell (of a corregp output) makes use of ellipse from the package ellipse.

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

Value

A list containing np points for each confidence ellipse of interest.

See Also

plot.corregp.

Examples

1
2
3
4
data(HairEye)
haireye.crg <- corregp(Eye ~ Hair * Sex, data = HairEye, b = 3000)
cell(haireye.crg, parm = "y")
cell(haireye.crg, parm = c("Hair", "Sex"))

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