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]]
_
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
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
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
4 matches
Mail list logo