partition (version 0.1.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"))

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

Run this code
# NOT RUN {
library(dplyr)
iris %>%
  select_if(is.numeric) %>%
  icc()
# }

Run the code above in your browser using DataCamp Workspace