simpleEllipse | R Documentation |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.