partition (version 0.2.0)

icc: Calculate the intraclass correlation coefficient

Description

icc() efficiently calculates the ICC for a numeric data set.

Usage

icc(.x, method = c("r", "c"))

Value

a numeric vector of length 1

Arguments

.x

a data set

method

The method source: both the pure R and C++ versions are efficient

Examples

Run this code
library(dplyr)
iris %>%
  select_if(is.numeric) %>%
  icc()

Run the code above in your browser using DataLab