icc: Calculate the intraclass correlation coefficient

Description Usage Arguments Value Examples

View source: R/metrics.R

Description

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

Usage

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

Arguments

.x

a data set

method

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

Value

a numeric vector of length 1

Examples

1
2
3
4
library(dplyr)
iris %>%
  select_if(is.numeric) %>%
  icc()

partition documentation built on Oct. 5, 2021, 9:06 a.m.