FAMD, missMDA, FactoShiny

66 views
Skip to first unread message

E M

unread,
Oct 9, 2020, 12:18:19 PM10/9/20
to FactoMineR users

I'm sorry for spamming more question to this google group, however, its been the most useful resource for  this FAMD analysis. 

I am using the packages: FactoMineR, factoextra and Factoshiny to do factor analysis for mixed data. I have been trying to use factoshiny's missing data imputation option, but I keep getting an error for any of the options I select: "Error: unused argument (tab.comp = dfcompleted$tab.disj)".

I've also been getting an error for my other data set, Error in "apply(tabdisj[, (vec[i] + 1):vec[i + 1]], 1, which.max)" : dim(X) must have a positive length. Which I assume is a direct results of my misunderstanding with setting up my data set and defining my vectors. I have no idea how to do this, so resources would be helpful. This data set has 39 variables all mixed with multiple NA values. So I'm just confused how I would go about easily defining my entire data set. 

Does anyone have a fix for this?

Thanks! I'm new to R, so any help or resource links would be great!

Emma


Francois Husson

unread,
Oct 13, 2020, 2:42:32 AM10/13/20
to factomin...@googlegroups.com
Hi,
Can you chech that:
- you have the last version of the following packages: FactoMineR, missMDA and Factoshiny
- you do not have a variable with the names of the individuals (if a categorical variable takes different categories for each individuals, then it is not possible to use this column as a variable).
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/64347ef0-3634-4c12-8397-ed3e6dda123dn%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

Royce Wong

unread,
Nov 18, 2020, 2:18:54 AM11/18/20
to FactoMineR users
Hi Francois H,

I have the same issue.  I got "unused argument (tab.comp = res.impute)" message when calling the FAMD function. 

 "you do not have a variable with the names of the individuals (if a categorical variable takes different categories for each individuals, then it is not possible to use this column as a variable)."
Could you give example columns that is not possible and possible o use?

Thanks.

On Monday, October 12, 2020 at 11:42:32 PM UTC-7, François Husson wrote:
Hi,
Can you chech that:
- you have the last version of the following packages: FactoMineR, missMDA and Factoshiny
- you do not have a variable with the names of the individuals (if a categorical variable takes different categories for each individuals, then it is not possible to use this column as a variable).
FH

Le 09/10/2020 à 18:18, E M a écrit :

I'm sorry for spamming more question to this google group, however, its been the most useful resource for  this FAMD analysis. 

I am using the packages: FactoMineR, factoextra and Factoshiny to do factor analysis for mixed data. I have been trying to use factoshiny's missing data imputation option, but I keep getting an error for any of the options I select: "Error: unused argument (tab.comp = dfcompleted$tab.disj)".

I've also been getting an error for my other data set, Error in "apply(tabdisj[, (vec[i] + 1):vec[i + 1]], 1, which.max)" : dim(X) must have a positive length. Which I assume is a direct results of my misunderstanding with setting up my data set and defining my vectors. I have no idea how to do this, so resources would be helpful. This data set has 39 variables all mixed with multiple NA values. So I'm just confused how I would go about easily defining my entire data set. 

Does anyone have a fix for this?

Thanks! I'm new to R, so any help or resource links would be great!

Emma


--
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 factomin...@googlegroups.com.

Francois Husson

unread,
Nov 24, 2020, 9:29:52 AM11/24/20
to factomin...@googlegroups.com
Hi,
It is not possible to use a column that corresponds to the labels of the individuals (it cannot be considered as a qualitative variable because there is as many categories as the numbre of individuals).
FH
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/1a4d2713-68cf-4608-bb6d-a67003d056ceo%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages