Learn R Programming

StatDA (version 1.7.11)

do.ellipses: Plot Ellipses

Description

This function plots ellipses according to a covariance matrix

Usage

do.ellipses(acov, pos, ...)

Value

No return value, creates a plot.

Arguments

acov

the given covariance matrix

pos

the location of the ellipse

...

further graphical parameter for the ellipses

Details

The correlation matrix of the given covariance is computed and the resulting ellipse is plotted. The radi is computed with the singular value decomposition and the cos/sin is calculated for 100 different degrees.

References

C. Reimann, P. Filzmoser, R.G. Garrett, and R. Dutter: Statistical Data Analysis Explained. Applied Environmental Statistics with R. John Wiley and Sons, Chichester, 2008.

Examples

Run this code
#internal function, used in CorCompare

Run the code above in your browser using DataLab