Learn R Programming

ChemoSpecUtils (version 1.0.5)

.computeEllipses: Compute Confidence Ellipses

Description

Internal function. A utility function which when given a x,y data set computes both classical and robust confidence ellipses.

Usage

.computeEllipses(x, quan = 1/2, alpha = 0.025)

Value

A list with the following elements (a simpler version of that in the original function corr.plot):

x.cls

The x values for the classical ellipse.

y.cls

The y values for the classical ellipse.

c

The correlation value for the classical ellipse.

x.rob

The x values for the robust ellipse.

y.rob

The y values for the robust ellipse.

r

The correlation value for the robust ellipse.

Arguments

x

As per corr.plot.

quan

As per corr.plot.

alpha

As per corr.plot.

Author

Bryan A. Hanson (DePauw University).

See Also

See function corr.plot in package mvoutlier on which this function is based.