icc {ERPM} | R Documentation |
Intra class correlation
Description
This function computes the intra class correlation correlation of attributes for 2 randomly drawn individuals in the same group.
Usage
icc(partition, attribute)
Arguments
partition |
A partition |
attribute |
A vector containing the values of the attribute |
Value
A number corresponding to the ICC
Examples
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)
[Package ERPM version 0.2.0 Index]