0

I need to run an ANOVA. My grouping variable is stored as a character - everything is fine. However, when I run the analysis I get that error:

Don't know how to automatically pick scale for an object of type haven_labelled. Defaulting to continuous.

The class of the other variable is "haven_labelled". This might be because I imported the data from SPSS but I just cannot solve the problem.

(PS: I don't know how could I implement a helpful and reproducible example here.)

halfer
  • 18,701
  • 13
  • 79
  • 158
Mariella
  • 21
  • 4
  • I think that you need to transform your grouping variable from a character to a factor (`as.factor`) as the software does not know how to handle characters in such a setting. Btw, you could add the code you used in R for starters. That would help with getting an answer (if you can post the data as well that would be really great of course). – horseoftheyear May 29 '20 at 14:37

0 Answers0