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