Re: [SOCIAL]Error with using "sup.col" in CA

24 views
Skip to first unread message

Francois Husson

unread,
Aug 31, 2022, 11:54:17 AM8/31/22
to factomin...@googlegroups.com
Hi,
Without the dataset and the lines of code, it is difficult to answer. Can you anonymize the column and row names and send the code and the data?
FH

Le 16/08/2022 à 17:24, Jan Fuhse a écrit :
Hi!
I am getting an error when trying to use the sup.col function in a CA.
My code looks like this:
ca_schl2 = CA(schl_ct2, ncp = 5, col.sup = 9:12, graph = FALSE, row.w = NULL)
This leads to:
Error in crossprod(as.matrix(X.col.sup), U) : non-conformable arguments
The data seem not to have missings, and I get no error message when using:
ca_schl2 = CA(schl_ct2[,1:8], ncp = 5, graph = FALSE, row.w = NULL)
Only, this doesn't give me coordinates for the passive columns ...
Also, all of the rows and columns have valid 1 entries. In fact, the problems only come up when I use the col.sup function, if not all is fine.
Does anybody know what the problem is, or how I can fix it?
Thanks a lot, and best!
Jan
--
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/a84d60a4-8bd6-4be0-b785-2c5e36f72839n%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.
Reply all
Reply to author
Forward
0 new messages