[R-sig-ME] MixMod lsmeans question

guillaume chaumet guillaumechaumet at gmail.com
Tue Sep 11 08:43:55 CEST 2012


Here's the data and the code :

aggTc=read.csv("aggTc.csv")

library(lme4)
library(MixMod)

CRT.lmer=lmer(log(CRT)~test*fatigue*wakefulness+ (1|subject),data=aggTc)

totalAnalysis(CRT.lmer,aggTc)

As you could observe, lmer part shows us no interaction effect except
fatigue:wakefulness but second "lsmeans" part shows every significant
effects...

Guillaume Chaumet




2012/9/10 Alexandra Kuznetsova <alku at imm.dtu.dk>

> If for lsmeans table you use lsmeans function, then all the least squares
> means will be calculated for all effects (for non significant ones as
> well), if for lsmeans table you use totalAnalysis function, then by default
> only for significant effects lsmeans will be calculated. Does this answers
> your question?
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>


More information about the R-sig-mixed-models mailing list