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 P
to any cluster of Q
.
Usage
projectionNumber(p, q)
Arguments
p |
Partition |
q |
Partition |
Author(s)
Fabian Ball fabian.ball@kit.edu
See Also
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]