fixef.merModList | R Documentation |
Extract fixed-effects estimates for a merModList
## S3 method for class 'merModList'
fixef(object, add.dropped = FALSE, ...)
object |
any fitted model object from which fixed effects estimates can be extracted. |
add.dropped |
for models with rank-deficient design
matrix, reconstitute the full-length parameter vector by
adding |
... |
optional additional arguments. Currently none are used in any methods. |
Extract the estimates of the fixed-effects parameters from a list of
fitted merMod
models. Takes the mean of the individual fixef
objects for each of the component models in the merModList
.
a named, numeric vector of fixed-effects estimates.
sim_list <- replicate(n = 10,
expr = sleepstudy[sample(row.names(sleepstudy), 180),],
simplify=FALSE)
fml <- "Reaction ~ Days + (Days | Subject)"
mod <- lmerModList(fml, data = sim_list)
fixef(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.