Methods for function summary
in package lmerTest
signature(object = "merModLmerTest" ,ddf = "Satterthwaite" ,...)
summary of the results of linear mixed effects model fitting of object.
Returns the same output as summary of "merMod" class but with additional
columns with the names "df"
, "t value"
and "Pr(>t)"
representing degrees of freedom, t
-statistics and p
-values
respectively calculated based on Satterthwaite's or Kenward-Roger's approximations.
summary
1 2 3 4 5 6 7 8 9 10 11 12 | (fm1 <- lmer(Reaction ~ Days + (Days | Subject), sleepstudy))
## will give you an additional column with p values for the t test
summary(fm1)
##using Kenward-Roger approximations to degrees of freedom
if(require(pbkrtest))
summary(fm1, ddf="Kenward-Roger")
#will give the summary of lme4 package
summary(fm1, ddf="lme4")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.