[R-sig-eco] Problem with PCA

momadou sow momadou at yahoo.fr
Mon Aug 15 14:34:20 CEST 2011


Hi, 
I try to do
PCA, but I have some problems. Here a sample of my data in the attached file.
I used this
code:
 
zouk<-read.table("C:\\Users\\Tableau1.csv",sep=";",dec=",",header=TRUE,row.names=1) 
zouk
TableauS1<-na.omit("C:\\Users\\Tableau1.csv")
# to delete NA
library(FactoMineR)
res.pca<-PCA(TableauS1)
But there a
problem because R give this message: The following variables are not
quantitative:  X
Thus, I
used: is.numeric(zouk$ARVI) to verified if each variable is numeric. They are
numeric. 
Could you
help me to see my problem? 
Thank you
in advance
Komine  


More information about the R-sig-ecology mailing list