Plots an ellipse with percentage tolerance and a certain location and covariance.
plotellipse(x.loc, x.cov, perc =0.98, col =NULL, lty =NULL)
Arguments
x.loc: the location vector
x.cov: the covariance
perc: defines the percentage and should be a (vector of) number(s) between 0 and 1
col, lty: graphical parameters
Details
First the radius of the covariance is calculated and then the ellipses for the provided percentages are plotted at the certain location.
Returns
Plot with ellipse.
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.