Dear all,
I am trying the run compareGroups in a data frame with 900 obs and 140 variables.
I want to compare these variables across four groups (Y = 4). Many of this variables are categorical Likert scales, with five levels.
tab <- compareGroups(clu. ~ ., data = base, na.action=na.pass)
However, it is generating the following error: R encoutered a Fatal Error. The session was terminated.
Apparently, it is a memory issue, because when I reduce the pool of variables (eg., selecting just variable with 4 ou less levels), it works. I have tried different strategies, but nothing works. Also, I have been able to run similar data frames in comparegroups in the past. So, the problema could be a recently updating which I conduct in my computer.
Any help is very appreciated.
Best, Rafael.