Works with Demo File but not my own...

28 views
Skip to first unread message

Oliver

unread,
Apr 19, 2017, 6:16:46 AM4/19/17
to compareGroups Forum
Hi everybody,
compareGroups is exactly what I was looking for. Thank you so much.
I am not new to stats but not an R Expert.
I have two problems.

First problem:
compareGroups works fine with the Demo File (predimed) however up to now none of my attempts with my own files worked. It gives me always:

Error in compareGroups.default(X = X, y = y, include.label = include.label,  : 
  None variable can be computed

Any tips in data preparation to work properly. How do you get your data into R?

Second problem:
When I want to use the GUI. It always returns:
Error in cGroupsGUI("regicor") : X must be a matrix or a data.frame

I think these might be some basic issues in data manipulation or storage, however I would greatly appreciate your help.
Best regards,
Oliver

compareGroups

unread,
Apr 24, 2017, 5:52:32 AM4/24/17
to compareGroups Forum
Hi Oliver,

It could a variable type issue. Maybe, when reading your data all variables are characters or factors with more than 10 non-unique values, and maybe they should be numeric. Could it be the case?
Otherwise, could you provide your data to find out the solution? (Maybe not at this forum but to the package mantainer). Thanks.

Regarding the error when launching the GUI, you have to type cGroupsGUI(regicor) without quotes. This is a modification we did in recent package version.

Isaac.
Reply all
Reply to author
Forward
0 new messages