ICC {merTools} | R Documentation |
Calculate the intraclass correlation using mixed effect models
ICC(outcome, group, data, subset = NULL)
outcome |
a character representing the variable of the outcome |
group |
a character representing the name of the grouping term |
data |
a data.frame |
subset |
an optional subset |
a numeric for the intraclass correlation
data(sleepstudy)
ICC(outcome = "Reaction", group = "Subject", data = sleepstudy)