Description Usage Arguments Examples
From this tidy data frame, the random effects of the test results are assessed using lme4::lmer(score_post ~ 1 + score_pre + (1 | effect)) funciton.
1 2 3 4 5 6 7 8 | get_ran_vals(
.data,
.var_school,
.var_class,
.var_score_pre,
.var_score_post,
effects = "class"
)
|
.data |
data.frame including school name, class name, score-pre and score-post of each student |
.var_school |
school name. |
.var_class |
class name. |
.var_score_pre |
score-pre. |
.var_score_post |
score-post, which is used as the response variable in mixed models |
effects |
specification for effects, which is either class or school |
1 | get_ran_vals(df, school, class, score1, score2, "class")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.