NCE_simple {bikm1}R Documentation

NCE_simple function for agreement between clustering partitions

Description

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.

Usage

NCE_simple(v,vprime)

Arguments

v

numeric vector specifying the class of rows.

vprime

numeric vector specifying the class of rows.

Value

the value of the index. A value of 0 means a perfect match.

Examples


require(bikm1)
set.seed(42)
v=floor(runif(4)*3)
vprime=floor(runif(4)*3)
error=NCE_simple(v,vprime)
error


[Package bikm1 version 1.1.0 Index]