NCE_simple {bikm1} | R Documentation |
Produce a measure of agreement between two partitions for clustering. A value of 1 means a perfect match. It's the normalized version of CE_simple.
NCE_simple(v,vprime)
v |
numeric vector specifying the class of rows. |
vprime |
numeric vector specifying the class of rows. |
the value of the index. A value of 0 means a perfect match.
require(bikm1)
set.seed(42)
v=floor(runif(4)*3)
vprime=floor(runif(4)*3)
error=NCE_simple(v,vprime)
error