Description Usage Arguments Details Value Examples
A wrapper function for lmer
models. The input are only character vectors. the function can therefore be run over lists of character vectors.
1 | lmerSimple(criterion, fixed, random, interaction, cluster, data)
|
criterion |
The value that is predicted. |
fixed |
The fixed part of the multilevel-model. Can be variables on any level. |
random |
The random part of the multilevel-model. Can be variables on any level. |
interaction |
The interaction variables. Please enter as interaction term in |
cluster |
The cluster variable in the data frame. |
data |
The data set. |
The model assumes always random intercepts.
Returns an lmer
model.
1 2 3 | library(lme4)
fit <- lmerSimple("Reaction", "Days", "Days", "", "Subject", sleepstudy)
fit
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.