Get error terms from an existing data table.
Arguments
- data
the existing tbl
- dv
the column name or index containing the DV
- sub_id
the column name or index for the subject IDs
- item_id
the column name or index for the item IDs
- formula
the formula to run in lmer (defaults to null model dv ~ 1 + (1|sub_id) + (1|item_id))
Examples
des <- check_mixed_design(fr4, "rating", "rater_id", "face_id")
str(des[1:4])
#> List of 4
#> $ grand_i : num 2.68
#> $ sub_sd : num 0.896
#> $ item_sd : num 0.655
#> $ error_sd: num 1.04