0

I am interested between the correlation between a continuous variable and a binary variable (female=1/male=2).

I think it doesn't really make sense to calculate it like this:

cor.test(data$continuousvariable,data$binaryvariable)

Is correlation only used for two continous variables? What should I do?

StupidWolf
  • 5,077

0 Answers0