R: Simple Estimation of the Intraclass Correlation Coefficient
ICCbareF
R Documentation
Simple Estimation of the Intraclass Correlation Coefficient
Description
Estimates the Intraclass Correlation Coefficient (ICC) and is meant to be as simple and fast as possible for use in Monte Carlo simulations or bootstrapping. Calculates the variance components 'by hand', instead of using the aov() function.
Usage
ICCbareF(x, y, data)
Arguments
x
column name indicating individual or group id in the dataframe data
y
column name indicating measurements in the dataframe data. Each entry in x must have at least one non-NA value in y
data
a dataframe containing x and y
Details
ICCbareF is distinguished from ICCbare, in that ICCbare is more flexible and can handle missing values and unbalanced datasets. ICCbareF cannot and should only be used on balanced datasets without any NAs.