Hi! I am running a two way ANOVA using my data and trying to test assumptions of homogeneity using a Levene's. I know how to run it in SPSS but can't seem to get the code right in R.
leveneTest(Average .75%
, PCB Treatment
+ Sex, center = mean)
Error in PCB Treatment
+ Sex : non-numeric argument to binary operator
I know that the error is telling me that the factors need to be numeric, but what if they aren't? is there any way around this?