ICC: Calculate the intraclass correlation using mixed effect...

Description Usage Arguments Value Examples

View source: R/helpers.R

Description

Calculate the intraclass correlation using mixed effect models

Usage

1
ICC(outcome, group, data, subset = NULL)

Arguments

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

Value

a numeric for the intraclass correlation

Examples

1
2
data(sleepstudy)
ICC(outcome = "Reaction", group = "Subject", data = sleepstudy)

merTools documentation built on June 5, 2018, 9:04 a.m.