Re: [R] adding an ellipse to a PCA plot

2011-06-06 Thread Alain Guillet
Hi, I think the easiest way is to use the function plotellipses of the FactoMineR package (but you have to do your PCA with the PCA function included in this package). Alain On 06-Jun-11 16:32, Lukas Baitsch wrote: Hi, I created a principal component plot using the first two principal comp

Re: [R] adding an ellipse to a PCA plot

2011-06-06 Thread Lukas Baitsch
essage- >> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] >> On Behalf Of Lukas Baitsch >> Sent: June-06-11 10:33 AM >> To: r-help@r-project.org >> Subject: [R] adding an ellipse to a PCA plot >> >> Hi, >> >> I creat

Re: [R] adding an ellipse to a PCA plot

2011-06-06 Thread John Fox
t.org > Subject: [R] adding an ellipse to a PCA plot > > Hi, > > I created a principal component plot using the first two principal > components. I used the function princomp() to calculate the scores. > now, I would like to superimpose an ellipse representing the center an

[R] adding an ellipse to a PCA plot

2011-06-06 Thread Lukas Baitsch
Hi, I created a principal component plot using the first two principal components. I used the function princomp() to calculate the scores. now, I would like to superimpose an ellipse representing the center and the 95% confidence interval of a series of points in my plot (as to illustrate the grou