Description Usage Arguments Value
Calculates intracluster correlation coefficient for observations
1 2 3 4 5 | calculate.icc(
data.dt,
mode = c("binary", "continuous", "auto")[3],
return.type = c("value", "variables")[1]
)
|
data.dt |
data.table with minimally columns for cluster and outcome. |
mode |
Type of variable for which ICC will be calculated. Can be automatically detected on the basis of number of levels. (Default: auto) |
return.type |
Can return either the single value rho, or a list of all values calculated (Default: 'value') |
Numeric ICC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.