powered by
Calculate the intraclass correlation using mixed effect models
ICC(outcome, group, data, subset = NULL)
a numeric for the intraclass correlation
a character representing the variable of the outcome
a character representing the name of the grouping term
a data.frame
an optional subset
data(sleepstudy) ICC(outcome = "Reaction", group = "Subject", data = sleepstudy)
Run the code above in your browser using DataLab