View source: R/functions_statistics.R
icc | R Documentation |
This function computes the intra class correlation correlation of attributes for 2 randomly drawn individuals in the same group.
icc(partition, attribute)
partition |
A partition |
attribute |
A vector containing the values of the attribute |
A number corresponding to the ICC
p <- c(1,2,2,3,3,4,4,4,5)
at <- c(3,5,23,2,1,0,3,9,2)
icc(p, at)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.