Using R to calculate between- by within-subj ANOVA interaction contrasts using car or lme
问题 This question was migrated from Cross Validated because it can be answered on Stack Overflow. Migrated 4 years ago . Psychology student here. As part of my thesis I have some data from an experiment with two between-subjects IVs, classification and condition , and a within-subjects IV, trial_type . The data are of the form: test = data.frame( ID=rep(c(1,2,3,4,5,6), each=3), condition=rep(c('comp', 'seq', 'comp_text'), each=3, times=2), classification=rep(c('rule', 'exemplar'), each=3, length