R Commander and FactoMineR

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

R Commander and FactoMineR

Kehl Dániel
Dear Users,

I helped to install R Commander and FactoMineR to one of my collegaues.
He wanted to do an MCA. Selecting three variables and using the default settings results in only one graph, the variables representation, where he gets three points for the three variables (which is totally fine).
Running the code (output of the point-and-click method)

EuTop100.MCA<-EuTop100[, c("ország", "szektor", "székhely")]
res<-MCA(EuTop100.MCA, ncp=5, graph = FALSE)
plot.MCA(res, axes=c(1, 2), col.ind="black", col.ind.sup="blue",
  col.var="darkred", col.quali.sup="darkgreen", label=c("ind", "ind.sup",
  "quali.sup", "var", "quanti.sup"), invisible=c("", new.plot=TRUE))
plot.MCA(res, axes=c(1, 2), choix="var", col.var="darkred",
  col.quali.sup="darkgreen", label=c("var", "quali.sup"), invisible=c("",
  new.plot=TRUE))
plot.MCA(res, axes=c(1, 2), choix="quanti.sup", col.quanti.sup="blue",
  label=c("quanti.sup", new.plot=TRUE))
remove(EuTop100.MCA)

however should result in three graphs.
What went wrong?

MCA(EuTop100.MCA) just works fine.

Thank you and best wishes:
Daniel

        [[alternative HTML version deleted]]


______________________________________________
[hidden email] 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 | Threaded
Open this post in threaded view
|

Re: R Commander and FactoMineR

Pascal Oettli-2
Hello,

Did you check the position of the brackets, for example for "invisible"
argument?

Regards,
Pascal


On 04/02/2013 06:09 PM, Dániel Kehl wrote:

> Dear Users,
>
> I helped to install R Commander and FactoMineR to one of my collegaues.
> He wanted to do an MCA. Selecting three variables and using the default settings results in only one graph, the variables representation, where he gets three points for the three variables (which is totally fine).
> Running the code (output of the point-and-click method)
>
> EuTop100.MCA<-EuTop100[, c("ország", "szektor", "székhely")]
> res<-MCA(EuTop100.MCA, ncp=5, graph = FALSE)
> plot.MCA(res, axes=c(1, 2), col.ind="black", col.ind.sup="blue",
>    col.var="darkred", col.quali.sup="darkgreen", label=c("ind", "ind.sup",
>    "quali.sup", "var", "quanti.sup"), invisible=c("", new.plot=TRUE))
> plot.MCA(res, axes=c(1, 2), choix="var", col.var="darkred",
>    col.quali.sup="darkgreen", label=c("var", "quali.sup"), invisible=c("",
>    new.plot=TRUE))
> plot.MCA(res, axes=c(1, 2), choix="quanti.sup", col.quanti.sup="blue",
>    label=c("quanti.sup", new.plot=TRUE))
> remove(EuTop100.MCA)
>
> however should result in three graphs.
> What went wrong?
>
> MCA(EuTop100.MCA) just works fine.
>
> Thank you and best wishes:
> Daniel
>
> [[alternative HTML version deleted]]
>
>
>
> ______________________________________________
> [hidden email] 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.
>

______________________________________________
[hidden email] 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 | Threaded
Open this post in threaded view
|

Re: R Commander and FactoMineR

Kehl Dániel
Hello,

well yes, I see that it should be

... ,invisible=c("none"), new.plot=TRUE)

or something similar. I can correct this "by hand"
The point was more like a bug-report. Maybe not the best place to mention a bug, but I couldn't find a better one.

I do not know how to change the output of the point-and-click method.

Best regards:
daniel
________________________________________
Feladó: Pascal Oettli [[hidden email]]
Küldve: 2013. április 2. 11:18
To: Dániel Kehl
Cc: [hidden email]
Tárgy: Re: [R] R Commander and FactoMineR

Hello,

Did you check the position of the brackets, for example for "invisible"
argument?

Regards,
Pascal


On 04/02/2013 06:09 PM, Dániel Kehl wrote:

> Dear Users,
>
> I helped to install R Commander and FactoMineR to one of my collegaues.
> He wanted to do an MCA. Selecting three variables and using the default settings results in only one graph, the variables representation, where he gets three points for the three variables (which is totally fine).
> Running the code (output of the point-and-click method)
>
> EuTop100.MCA<-EuTop100[, c("ország", "szektor", "székhely")]
> res<-MCA(EuTop100.MCA, ncp=5, graph = FALSE)
> plot.MCA(res, axes=c(1, 2), col.ind="black", col.ind.sup="blue",
>    col.var="darkred", col.quali.sup="darkgreen", label=c("ind", "ind.sup",
>    "quali.sup", "var", "quanti.sup"), invisible=c("", new.plot=TRUE))
> plot.MCA(res, axes=c(1, 2), choix="var", col.var="darkred",
>    col.quali.sup="darkgreen", label=c("var", "quali.sup"), invisible=c("",
>    new.plot=TRUE))
> plot.MCA(res, axes=c(1, 2), choix="quanti.sup", col.quanti.sup="blue",
>    label=c("quanti.sup", new.plot=TRUE))
> remove(EuTop100.MCA)
>
> however should result in three graphs.
> What went wrong?
>
> MCA(EuTop100.MCA) just works fine.
>
> Thank you and best wishes:
> Daniel
>
>       [[alternative HTML version deleted]]
>
>
>
> ______________________________________________
> [hidden email] 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.
>

______________________________________________
[hidden email] 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 | Threaded
Open this post in threaded view
|

Re: R Commander and FactoMineR

Fox, John
Dear Dániel,

One normally sends a bug report to the maintainer of a package, in this case the maintainer of the FactoMineR package, Francois Husson, to whom I'm copying this reply.

Best,
 John

------------------------------------------------
John Fox
Sen. William McMaster Prof. of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/
       
On Tue, 2 Apr 2013 09:54:16 +0000
 Dániel Kehl <[hidden email]> wrote:

> Hello,
>
> well yes, I see that it should be
>
> ... ,invisible=c("none"), new.plot=TRUE)
>
> or something similar. I can correct this "by hand"
> The point was more like a bug-report. Maybe not the best place to mention a bug, but I couldn't find a better one.
>
> I do not know how to change the output of the point-and-click method.
>
> Best regards:
> daniel
> ________________________________________
> Feladó: Pascal Oettli [[hidden email]]
> Küldve: 2013. április 2. 11:18
> To: Dániel Kehl
> Cc: [hidden email]
> Tárgy: Re: [R] R Commander and FactoMineR
>
> Hello,
>
> Did you check the position of the brackets, for example for "invisible"
> argument?
>
> Regards,
> Pascal
>
>
> On 04/02/2013 06:09 PM, Dániel Kehl wrote:
> > Dear Users,
> >
> > I helped to install R Commander and FactoMineR to one of my collegaues.
> > He wanted to do an MCA. Selecting three variables and using the default settings results in only one graph, the variables representation, where he gets three points for the three variables (which is totally fine).
> > Running the code (output of the point-and-click method)
> >
> > EuTop100.MCA<-EuTop100[, c("ország", "szektor", "székhely")]
> > res<-MCA(EuTop100.MCA, ncp=5, graph = FALSE)
> > plot.MCA(res, axes=c(1, 2), col.ind="black", col.ind.sup="blue",
> >    col.var="darkred", col.quali.sup="darkgreen", label=c("ind", "ind.sup",
> >    "quali.sup", "var", "quanti.sup"), invisible=c("", new.plot=TRUE))
> > plot.MCA(res, axes=c(1, 2), choix="var", col.var="darkred",
> >    col.quali.sup="darkgreen", label=c("var", "quali.sup"), invisible=c("",
> >    new.plot=TRUE))
> > plot.MCA(res, axes=c(1, 2), choix="quanti.sup", col.quanti.sup="blue",
> >    label=c("quanti.sup", new.plot=TRUE))
> > remove(EuTop100.MCA)
> >
> > however should result in three graphs.
> > What went wrong?
> >
> > MCA(EuTop100.MCA) just works fine.
> >
> > Thank you and best wishes:
> > Daniel
> >
> >       [[alternative HTML version deleted]]
> >
> >
> >
> > ______________________________________________
> > [hidden email] 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.
> >
>
> ______________________________________________
> [hidden email] 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.

______________________________________________
[hidden email] 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.