Learn R Programming

bikm1 (version 1.1.0)

NCE_simple: 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

Run this code
# NOT RUN {
require(bikm1)
set.seed(42)
v=floor(runif(4)*3)
vprime=floor(runif(4)*3)
error=NCE_simple(v,vprime)
error
# }

Run the code above in your browser using DataLab