[R] NA values in principal components

From: Krish Krishnan <rkrishnan8216_at_yahoo.com>
Date: Tue 14 Feb 2006 - 02:48:54 EST


I have a large dataset that I am reading into R using read.table. The first row contains the column names, and missing observations have the standard NA value. When I try to run principal components with the default treatment of NA values (which is na.omit) I get the error message "Error in cov.wt(z) : x must contain finite values only" Is there some way out of this? Thanks                 


        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Feb 14 03:05:12 2006

This archive was generated by hypermail 2.1.8 : Wed 15 Feb 2006 - 13:28:13 EST