I have a character matrix for some different plant species, in which most species are missing data for at least a few characters. I want to do a principal components analysis, so I tried to impute the missing values, but when I try to do that I get the error message:
Error in eigen(crossprod(X, X), symmetric = TRUE) : infinite or missing values in 'x'
I thought having missing values was kind of the point! Does anyone know what I'm doing wrong?