Learn R Programming

ChemoSpec (version 3.0-1)

plotScoresCor: Compute Confidence Ellipses

Description

A utility function which when given a x,y data set computes both classical and robust confidence ellipses. Never 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.clsThe x values for the classical ellipse.
  • y.clsThe y values for the classical ellipse.
  • cThe correlation value for the classical ellipse.
  • x.robThe x values for the robust ellipse.
  • y.robThe y values for the robust ellipse.
  • rThe 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.