search for: groupcontrast

Displaying 1 result from an estimated 1 matches for "groupcontrast".

Did you mean: groupcontrasts
2007 Oct 22
0
anova and contratst
...201, 3.931118) Mean_2 = c(0.350127, 5.863118, 3.826101, 0.999821, 9.099477, 2.376836, 5.384967, 5.950012, 7.688557) roi.errs = data.frame(Group, Subject, Mean_1, Mean_2) # planned contrasts cmat = rbind( "ctrl vs. short" = c(1, 0, -1), "ctrl vs. long" = c(1, -1, 0)); groupContrasts=make.contrasts(cmat); summarySplit=list(Group=list("ctrl vs. short" = 1, "ctrl vs. long"=2)); roi.err.aov<-aov(Mean_1 ~ Group, contrasts=list ("Group"=groupContrasts), data=roi.errs); print(summary(roi.err.aov, split=summarySplit)) with(roi.errs, print(pairwise.t...