R/lmer.R
lmer.display.Rd
Make mixed effect model results from "lmerMod" or "glmerMod" object (lme4 package)
lmer.display(lmerMod.obj, dec = 2, ci.ranef = F)
lmerMod.obj | "lmerMod" or "glmerMod" object |
---|---|
dec | Decimal, Default: 2 |
ci.ranef | Show confidence interval of random effects?, Default: F |
Table: fixed & random effect
DETAILS
library(geepack) data(dietox) dietox$Cu <- as.factor(dietox$Cu) l1 <- lme4::lmer(Weight ~ Time + Cu + (1 | Pig) + (1 | Evit), data = dietox) lmer.display(l1)#>#>#> $table #> crude coeff(95%CI) crude P value adj. coeff(95%CI) #> Time 6.94 (6.88,7.01) 0.0000000 6.94 (6.88,7.01) #> Cu: ref.=Cu000 <NA> NA <NA> #> 035 -0.57 (-4.66,3.52) 0.7837048 -0.81 (-4.42,2.8) #> 175 1.9 (-2.23,6.04) 0.3666826 1.78 (-1.87,5.42) #> Random effects <NA> NA <NA> #> Pig 39.7 NA <NA> #> Evit 0.91 NA <NA> #> Residual 11.37 NA <NA> #> Metrics <NA> NA <NA> #> No. of groups (Pig) 72 NA <NA> #> No. of groups (Evit) 3 NA <NA> #> No. of observations 861 NA <NA> #> Log-likelihood -2400.69 NA <NA> #> AIC value 4801.38 NA <NA> #> adj. P value #> Time 0.0000000 #> Cu: ref.=Cu000 NA #> 035 0.6599132 #> 175 0.3393028 #> Random effects NA #> Pig NA #> Evit NA #> Residual NA #> Metrics NA #> No. of groups (Pig) NA #> No. of groups (Evit) NA #> No. of observations NA #> Log-likelihood NA #> AIC value NA #> #> $caption #> [1] "Linear mixed model fit by REML : Weight ~ Time + Cu + (1 | Pig) + (1 | Evit)" #>