Learn R Programming

ChemoSpec (version 4.4.97)

plotScoresCor: Compute Confidence Ellipses

Description

A utility function which when given a x,y data set computes both classical and robust confidence ellipses. An internal function, not generally called by the user.

Usage

plotScoresCor(x, quan = 1/2, alpha = 0.025)

Arguments

x

As per cor.plot.

quan

As per cor.plot.

alpha

As per cor.plot.

Value

A list with the following elements (a simpler version of that in the original function cor.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.

References

https://github.com/bryanhanson/ChemoSpec

See Also

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