search for: wfactor

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

Did you mean: factor
2011 Sep 22
1
Wrapper of linearHypothesis (car) for post-hoc of repeated measures ANOVA
...ontrasts copied from linear model bframe <- expand.grid(modmlm$xlevels) bfactors <- names(bframe) for (bf in bfactors){ contrasts(bframe[[bf]]) <- modmlm$contrasts[[bf]] } # Within-subjects model data frame, with contrasts copied from intra-subject design wframe <- aovmlm$idata wfactors <- names(wframe) for (wf in wfactors){ if (is.null(attr(wframe[[wf]], "contrasts"))){ contrasts(wframe[[wf]]) <- if (is.ordered(wframe[[wf]])) aovmlm$icontrasts[2] else aovmlm$icontrasts[1] } } # 3. Check that interacting factors in levelcomb are included in both the #...