Learn R Programming

bikm1 (version 1.1.0)

CE_simple: CE_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.

Usage

CE_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.

Examples

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

Run the code above in your browser using DataLab