Hotelling's T^2 Ellipse
Get a confidence ellipse for uncorrelated bivariate data
simpleEllipse(x, y, alfa = 0.95, len = 200)
x |
first variable |
y |
second variable |
alfa |
confidence level of the circle |
len |
Number of points in the circle |
As described in 'Introduction to multi and megavariate data analysis using PCA and PLS' by Eriksson et al. This produces very similar ellipse as compared to the ellipse function the ellipse package except that this function assumes that and y are uncorrelated (which they of are if they are scores or loadings from a PCA).
A matrix with X and Y coordinates for the circle
Henning Redestig
ellipse
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.