search for: bfactors

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

Did you mean: factors
2011 Sep 22
1
Wrapper of linearHypothesis (car) for post-hoc of repeated measures ANOVA
...PROCEDURE # 1. Check class of modmlm and intra-subject design from input arguments if (missing(aovmlm)){ aovmlm <- Anova(modmlm,...) } # 2. Define model data frames: # Between-subjects model data frame, with contrasts 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]],...