powered by
Get error terms from an existing data table.
check_mixed_design(data, dv = 1, sub_id = 2, item_id = 3, formula = NULL)
a list of parameters
the existing tbl
the column name or index containing the DV
the column name or index for the subject IDs
the column name or index for the item IDs
the formula to run in lmer (defaults to null model dv ~ 1 + (1|sub_id) + (1|item_id))
des <- check_mixed_design(fr4, "rating", "rater_id", "face_id") str(des[1:4])
Run the code above in your browser using DataLab