[R] error about MCA
David Carlson
dcarlson at tamu.edu
Mon Jun 3 15:54:59 CEST 2013
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: r-help-bounces at r-project.org
[mailto:r-help-bounces at r-project.org] 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.
More information about the R-help
mailing list