FactoMineR PCA with factor variables
问题 Here is a link to the data in R data format (so you can see that the factors are actually factors): Vaccination Data 2016 Here is the code: df %>% PCA(scale.unit = TRUE, quali.sup = 14, #the factor variables graph = T) Aside from telling me that it replaced missing values with means (which I was happy to see), the above produces this: argument is not numeric or logical: returning NA argument is not numeric or logical: returning NA argument is not numeric or logical: returning NA argument is