Discovered a bug with `factoGraph`

27 views
Skip to first unread message

Brandon Edwards

unread,
Dec 1, 2020, 6:18:07 AM12/1/20
to FactoMineR users
Issue

The `factoGraph` function does not produce any plots, even with the `graph` parameter set to TRUE.

Reproducible Example

require(FactoMineR)

data(decathlon)
res.pca = PCA(decathlon, quanti.sup = c(11:12), quali.sup = c(13), graph = FALSE)
factoGraph(res.pca, graph = TRUE)

Running the above, no plot is produced in the plotting window.

Brandon Edwards

unread,
Dec 2, 2020, 5:50:32 AM12/2/20
to FactoMineR users
Upon further investigation, I found that this is not just an issue with `factoGraph`, but with `factoGraph`, `graphCA`, `graphHab`, `graphInd`, `graphSup`, and  `graphVar`.

The functions work when {FactoMineR} version 1.41 is used as a dependency, but do not work with {FactoMineR} 2.3.

Francois Husson

unread,
Dec 2, 2020, 11:50:13 AM12/2/20
to factomin...@googlegroups.com
You just have to do:
Factoshiny(decathlon)

see this video: https://youtu.be/6y0NDDQcIXo

Best
FH
--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes "FactoMineR users".
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse factominer-use...@googlegroups.com.
Cette discussion peut être lue sur le Web à l'adresse https://groups.google.com/d/msgid/factominer-users/e06b2962-cbe0-452d-9f7d-9c25429443c5n%40googlegroups.com.

--
Francois Husson
Department Statistics & Computer science
AGROCAMPUS OUEST
65 rue de St-Brieuc - 35042 RENNES
Tel: +33 2 23 48 58 86
https://husson.github.io
Reply all
Reply to author
Forward
0 new messages