Correct. You do not seem to understand MCA very well. You have
selected to remove all of the variables from the analysis and then
project them into the space defined by the remaining variables - and
there are NO remaining variables.

 

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



From: meng [mailto:laomen...@163.com] 
Sent: Monday, June 3, 2013 8:55 PM
To: dcarl...@tamu.edu
Cc: 'R help'
Subject: Re:RE: [R] error about MCA

 

Yes,I DO select all of the variables as quanti.sup and quali.sup.

 

>From your words,it seems that the quanti.sup and quali.sup. are not
parts of the original variables,but are "estimated" from the other
variables? 

Many thanks.




 


At 2013-06-03 21:54:59,"David Carlson" <dcarl...@tamu.edu
<mailto:dcarl...@tamu.edu> > wrote:
>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-boun...@r-project.org
<mailto:r-help-boun...@r-project.org> 
>[mailto:r-help-boun...@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.
> 

 


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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