projectionNumber {partitionComparison}R Documentation

Compute the projection number of two partitions

Description

Given two partitions (p, q) represented as vectors of cluster ids, compute the projection number which is the sum of maximum cluster overlaps for all clusters of PP to any cluster of QQ.

Usage

projectionNumber(p, q)

Arguments

p

Partition PP

q

Partition QQ

Author(s)

Fabian Ball fabian.ball@kit.edu

See Also

dongensMetric

Examples

isTRUE(all.equal(projectionNumber(c(0, 0, 0, 1, 1), c(0, 0, 1, 1, 1)), 4))


[Package partitionComparison version 0.2.6 Index]