[R] Principal Components Analysis

From: SNN <s.nancy1_at_yahoo.com>
Date: Wed, 26 Dec 2007 14:49:13 -0800 (PST)

Hi,

I do have a file that has 500000 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, nu = 0) : 0 extent dimensions"

I appreciate if someone can help

Thanks

-- 
View this message in context: http://www.nabble.com/Principal--Components-Analysis-tp14507365p14507365.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 27 Dec 2007 - 13:35:47 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 27 Dec 2007 - 18:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.