NA values in principal components

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

NA values in principal components

Krish Krishnan
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]]

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html