Learn R Programming

featureCorMatrix (version 0.4.0)

icc: Calculates the Intraclass correlation

Description

The function calculates the Intraclass correlation based on the results of the `aov` function

Usage

icc(depvar, indvar)

Arguments

depvar

dependent variable, must be numeric

indvar

independent variable, must be categorical

Value

returns the Intraclass correlation

Examples

Run this code
# NOT RUN {
icc(depvar = iris$Sepal.Length, indvar = iris$Species)
# }

Run the code above in your browser using DataLab