dummy.coef.lmm: Marginal Mean Values For Linear Mixed Model

View source: R/dummy.coef.R

dummy.coef.lmmR Documentation

Marginal Mean Values For Linear Mixed Model


Compute the marginal mean (via the emmeans package) for each combination of categorical covariates. When there is no numeric covariate, this outputs all the mean values fitted by the model.


## S3 method for class 'lmm'
dummy.coef(object, drop = TRUE, ...)



a lmm object.


[logical] should combinations of covariates that do no exist in the original dataset be removed?


arguments passed to emmeans.


A data.frame containing the level for which the means have been computed (if more than one), the estimated mean (estimate), standard error (se), degree of freedom (df), and 95% confidence interval (lower and upper).

LMMstar documentation built on Jan. 7, 2023, 1:20 a.m.