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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mydata.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130601/c5b1f272/attachment.txt>
error about MCA
5 messages · David L Carlson, meng
1 day later
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.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130604/b828df22/attachment.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130604/b95ea9e7/attachment.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130605/0398ef84/attachment.pl>