[R] Principal Components Analysis

2011-08-16 Thread Dunia Scheid
Hello, I am using the function princomp and I would like to get the coefficients of the PCA's! Would this be the rotation in the output or how can one get the coefficients of the PCA's? Many thanks, Dunia [[alternative HTML version deleted]] _

Re: [R] Principal Components Analysis

2007-12-27 Thread Prof Brian Ripley
On Wed, 26 Dec 2007, SNN wrote: > > Hi, > > I do have a file that has 50 columns and 40 rows. I want to apply PCA on > that data and this is what I did > > h1<-read.table("Ccode.txt", sep='\t', header=F) # reads the data from the > file Ccode.txt > h2<-prcomp(na.omit(h1),center=T) > > but I am

Re: [R] Principal Components Analysis

2007-12-27 Thread Bert Gunter
To: r-help@r-project.org Subject: [R] Principal Components Analysis Hi, I do have a file that has 50 columns and 40 rows. I want to apply PCA on that data and this is what I did h1<-read.table("Ccode.txt", sep='\t', header=F) # reads the data from the file Ccode.txt

[R] Principal Components Analysis

2007-12-27 Thread SNN
Hi, I do have a file that has 50 columns and 40 rows. I want to apply PCA on that data and this is what I did h1<-read.table("Ccode.txt", sep='\t', header=F) # reads the data from the file Ccode.txt h2<-prcomp(na.omit(h1),center=T) but I am getting the following error "Error in svd(x, n