I am doing a 2x2 independent measures ANOVA on trimmed means. I am using the WRS package to perform this robust ANOVA in R. I have two independent variables with two levels each. They split participants into four groups. These groups are not the same size. When I run tway(2,2,data) In R I get this error message:

Error in `[[<-.data.frame`(`*tmp*`, grp[i], value = c(9, 9, 6, 10, 9,  : 
  replacement has 8 rows, data has 11

I think this is because the groups are not the same size.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.