icc: Calculate the intraclass correlation coefficient

View source: R/metrics.R

iccR Documentation

Calculate the intraclass correlation coefficient

Description

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

Usage

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

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

USCbiostats/partition documentation built on May 23, 2024, 9:38 p.m.