Description Usage Arguments Value Author(s) Examples
Almer
fits a univariate linear mixed model incorporating a correlated
random effects structure. Can be used to fit phylogenetic mixed models and
animal models. The function is based on the lme4
package and is
very similar to lmer
, apart from the A argument.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Almer(
formula,
data = NULL,
A = list(),
REML = TRUE,
control = lme4::lmerControl(check.nobs.vs.nlev = "ignore", check.nobs.vs.rankZ =
"ignore", check.nobs.vs.nRE = "ignore"),
start = NULL,
verbose = 0L,
weights = NULL,
na.action = "na.omit",
offset = NULL,
contrasts = NULL,
devFunOnly = FALSE,
...
)
|
formula |
as in |
data |
as in |
A |
an optional named list of sparse matrices. The names must correspond to the names of the random effects in the formula argument. All levels of the random effect should appear as row and column names for the matrices. |
REML |
as in |
control |
as in |
start |
as in |
verbose |
as in |
weights |
as in |
na.action |
as in |
offset |
as in |
contrasts |
as in |
devFunOnly |
as in |
... |
as in |
Almer
an object of class merMod
.
Geir H. Bolstad
1 | # See the vignette 'Phylogenetic mixed model'.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.