[R] PCA error: svd(x, nu=0) infinite or missing values

2008-01-04 Thread Silvia Lomascolo
Hi, I am trying to do a PCA on my data but I keep getting the error message svd(x, nu=0) infinite or missing values From the messages posted on the subject, I understand that the NAs in my data might be the problem, but I thought na.omit would take care of that. Less than 5% of my cells are

Re: [R] PCA error: svd(x, nu=0) infinite or missing values

2008-01-04 Thread Prof Brian Ripley
Please read the help page: ## S3 method for class 'formula': prcomp(formula, data = NULL, subset, na.action, ...) ## Default S3 method: prcomp(x, retx = TRUE, center = TRUE, scale. = FALSE, tol = NULL, ...) So there is no na.action argument for the form you used, and