R/metrics.R
icc.Rd
icc() efficiently calculates the ICC for a numeric data set.
icc()
icc(.x, method = c("r", "c"))
a data set
The method source: both the pure R and C++ versions are efficient
a numeric vector of length 1
library(dplyr) iris %>% select_if(is.numeric) %>% icc() #> [1] -0.124838