lim.cos2.var

46 views
Skip to first unread message

Meinhard

unread,
Apr 2, 2022, 12:29:42 PM4/2/22
to FactoMineR users
Dear FactoMineR users,

I get the following error message. Does anybody have an idea?
Many thanks in advance:

data(decathlon)
print(plot.PCA(res, axes=c(1, 2), choix="var", new.plot=TRUE,
                 +                col.var="black", col.quanti.sup="blue", label=c("var", "quanti.sup"),
                 +                lim.cos2.var=0.3, title=""))

Error: Aesthetics must be either length 1 or the same as the data (9): alpha
Run `rlang::last_error()` to see where the error occurred.


Meinhard

unread,
Apr 2, 2022, 1:00:35 PM4/2/22
to FactoMineR users
I have used the graph.var function. That works?

graph.var (res, draw=c("var"), lim.cos2.var=0.6, new.plot=TRUE) 

Francois Husson

unread,
Apr 12, 2022, 9:29:40 AM4/12/22
to factomin...@googlegroups.com
You should now use the argument select

plot(res, select="cos2 0.6)

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/6b4d2d2b-a7de-4a01-b439-112759463912n%40googlegroups.com.

--
Logo signature e-mail
François Husson
Department Statistics & Computer science
UMR 6625 IRMAR CNRS
65 rue de Saint-Brieuc, CS 84215, 35042 Rennes Cedex
Tel: +33 2 23 48 58 86
https://husson.github.io
En 2022, Agrocampus Ouest devient l'Institut Agro Rennes-Angers.

Meinhard

unread,
Apr 16, 2022, 3:02:46 AM4/16/22
to FactoMineR users
Many Thanks!
Reply all
Reply to author
Forward
0 new messages