[R] Post hoc comparisons for interaction effects linear mixed effects models (lm4)

Thierry Onkelinx thierry.onkelinx at inbo.be
Sat Mar 25 09:38:23 CET 2017


Dear Katherina,

Multcomp can't handle interactions automatically. You need to create the
contrasts manually.

Best regards,

Thierry

Op 25-mrt.-2017 08:13 schreef "Katharina Voigt" <katharina.voigt1 op gmail.com
>:

> Hi,
> I want to obtain post hoc comparisons for a model with a three-way
> interaction (FullModel5 <- lmer(CIVADmc ~ 1 + Factor1 * Factor2 * Factor3 +
> (1|ID) + (1 | Item), data=Exp3_WTP_diffi).
> I tried: "summary(glht(FullModel4, linfct = mcp(Factor1*Factor2*Factor3 =
> "Tukey")), test = adjusted("holm”))” , but this does not work.
> any suggestions?
>
>
>
>
>
>
>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help op r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/
> posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

	[[alternative HTML version deleted]]



More information about the R-help mailing list