ICCbare: Simple function to estimate the Intraclass Correlation...

Description Usage Arguments Details Value Author(s) See Also

View source: R/ICCbare.r

Description

This function estimates the Intraclass Correlation Coefficient (ICC). It 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.

Usage

1
ICCbare(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

ICCbare can be used on balanced or unbalanced datasets with NAs. ICCbareF is similar, however ICCbareF should not be used with unbalanced datasets.

Value

ICC

the intraclass correlation coefficient

Author(s)

Matthew Wolak matthewwolak@gmail.com

See Also

ICCest, ICCbareF


ICC documentation built on May 2, 2019, 5:27 p.m.