Probably because you have defined all of the variables as
supplemental. These will then be estimated from the other variables,
but there are no other variables.

-----------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77840-4352

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of meng
Sent: Saturday, June 1, 2013 10:03 AM
To: R help
Subject: [R] error about MCA

Hi,all:
I want to perform multiple correspondance analysis via
MCA{FactoMineR}.
The data is in the attachment.

My code:
dat<-read.delim("e:\\mydata.txt",header=T)
MCA(dat,quanti.sup=7,quali.sup=1:6)
Error in `[.data.frame`(tab, , i) : undefined columns selected
 
My question:
Why does the error happen?
 
Many thanks.

Best.

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to