[R] Problem with PCA

2008-03-02 Thread phthao05
I have an exercise. With 3 kinds of yohourt a,b,c. There are 25 participatients estimate 3 norms: taste (va,vb,vc), structure (ca,cb,cc) and price (ga,gb,gc) and give the mark from 1 to 5. I don't know how to PCA this data. Please help me! I attached the data file follow: Va Vb Vc C

[R] Problem with PCA

2008-03-06 Thread phuong thao
Dear Ms/Mr, In a package, I want to use PCA function. The structure I used follow this page: http://www.statmethods.net/advstats/factor.html. fit<-principle(mydata, nfactors=9, rotation=TRUE) or: result<-PCA(mydata) But I don't known why R language in my computer noticed: "not fou

Re: [R] Problem with PCA

2008-03-02 Thread Richard Rowe
This is a homework problem. I know how to do a PCA, you need to learn. I suggest you visit your textbook, then check the documentation for R's various PCA implementations to work out how to effect the analysis. phthao05 wrote: > I have an exercise. With 3 kinds of yohourt a,b,c. There are 25 >

Re: [R] Problem with PCA

2008-03-03 Thread Liviu Andronic
On 3/3/08, Richard Rowe <[EMAIL PROTECTED]> wrote: > This is a homework problem. I know how to do a PCA, you need to learn. > I suggest you visit your textbook, then check the documentation for R's > various PCA implementations to work out how to effect the analysis. Check Rcmdr. There you can

Re: [R] Problem with PCA

2008-03-06 Thread Gavin Simpson
On Wed, 2008-03-05 at 19:43 -0800, phuong thao wrote: > Dear Ms/Mr, > In a package, I want to use PCA function. The structure I used follow this > page: http://www.statmethods.net/advstats/factor.html. >fit<-principle(mydata, nfactors=9, rotation=TRUE) >or: >result<-PCA(mydata)

[R] problem with PCA loading plot

2009-06-10 Thread Fireblast
Hi, I am a beginner with R. I would like to get a loading plot of PC 3 vs PC 1. For PC 1 vs PC 2 I use library(pls) loadingplot(pca.result, comps = 1:2, scatter = TRUE, labels="names") if I try loadingplot(pca.result, comps = 1:3, scatter = TRUE, labels="names") I get the loading plots of

Re: [R] problem with PCA loading plot

2009-06-10 Thread David Winsemius
On Jun 10, 2009, at 1:26 PM, Fireblast wrote: Hi, I am a beginner with R. I would like to get a loading plot of PC 3 vs PC 1. For PC 1 vs PC 2 I use library(pls) loadingplot(pca.result, comps = 1:2, scatter = TRUE, labels="names") if I try loadingplot(pca.result, comps = 1:3, scatter =