oneway(TC\$headache, TC\$condition_adrenaline, means=TRUE, levene=TRUE, correction=TRUE, plot=TRUE)
Dit is wat ik invoer en ik krijg de tabellen en de plot, maar er komt ook een warning message dat "the x variable (condition_adrenaline) is not a factor".
Als ik het andersom invoer, oneway(TC\$condition_adrenaline, TC\$headache, means=TRUE, levene=TRUE, correction=TRUE, plot=TRUE) , geeft het dezelfde message (the x variable (headache) is not a factor)