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. If the design is balanced, it will calculate variance components 'by hand', instead of using the aov() function.
ICCbare(x, y, data)
column name indicating individual or group id in the dataframe data
column name indicating measurements in the dataframe data
. Each entry in x
must have at least one non-NA value in y
a dataframe containing x
and y
the intraclass correlation coefficient
ICCbare
can be used on balanced or unbalanced datasets with NAs. ICCbareF
is similar, however ICCbareF
should not be used with unbalanced datasets.