Learn R Programming

⚠️There's a newer version (0.2.6) of this package.Take me there.

partitionComparison (version 0.2.5)

Implements Measures for the Comparison of Two Partitions

Description

Provides several measures ((dis)similarity, distance/metric, correlation, entropy) for comparing two partitions of the same set of objects. The different measures can be assigned to three different classes: Pair comparison (containing the famous Jaccard and Rand indices), set based, and information theory based. Many of the implemented measures can be found in Albatineh AN, Niewiadomska-Bugaj M and Mihalko D (2006) and Meila M (2007) . Partitions are represented by vectors of class labels which allow a straightforward integration with existing clustering algorithms (e.g. kmeans()). The package is mostly based on the S4 object system.

Copy Link

Version

Install

install.packages('partitionComparison')

Monthly Downloads

173

Version

0.2.5

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Fabian Ball

Last Published

March 7th, 2019

Functions in partitionComparison (0.2.5)

N21

Method to retrieve the complex coefficient \(N_{21}\)
PairCoefficients-class

S4 class to represent coefficients of object pairs for the comparison of two object partitions (say \(P\) and \(Q\)).
gowerLegendre

Gower & Legendre Index
hamann

Hamann Coefficient
N10p

Method to retrieve the complex coefficient \(N'_{10}\)
computePairCoefficients

Compute the four coefficients \(N_{11}\), \(N_{10}\), \(N_{01}\), \(N_{00}\)
peirce

Peirce Index
projectionNumber

Compute the projection number of two partitions
rvCoefficient

RV Coefficient
czekanowski

Czekanowski Index
sokalSneath1

Sokal & Sneath Index 1
N01

Method to retrieve the coefficient \(N_{01}\)
N01p

Method to retrieve the complex coefficient \(N'_{01}\)
classificationErrorDistance

Classification Error Distance
compareAll

Compare two partitions with all measures
gammaStatistics

Gamma Statistics
mcconnaughey

McConnaughey Index
minkowskiMeasure

Minkowski Measure
goodmanKruskal

Goodman & Kruskal Index
rogersTanimoto

Rogers & Tanimoto Index
randIndex

Rand Index
registerPartitionVectorSignatures

Make comparison measures usable with any vectors
russelRao

Russel & Rao Index
Partition-class

Simple S4 class to represent a partition of objects as vector of class labels.
wallaceI

Wallace I
wallaceII

Wallace II
adjustedRandIndex

Adjusted Rand Index
fagerMcGowan

Fager & McGowan Index
folwkesMallowsIndex

Folwkes & Mallows Index
normalizedLermanIndex

Normalized Lerman Index
normalizedMutualInformation

Normalized Mutual Information
sokalSneath2

Sokal & Sneath Index 2
sokalSneath3

Sokal & Sneath Index 3
N11

Method to retrieve the coefficient \(N_{11}\)
N

Method to retrieve the complex coefficient \(N\)
N12

Method to retrieve the complex coefficient \(N_{12}\)
dongensMetric

Dongen's Metric
entropy

Entropy
jaccardCoefficient

Jaccard Coefficient
kulczynski

Kulczynski Index
mirkinMetric

Mirkin Metric
mutualInformation

Mutual Information
N00

Method to retrieve the coefficient \(N_{00}\)
baulieu1

Baulieu Index 1
baulieu2

Baulieu Index 2
larsenAone

Larsen & Aone Measure
lermanIndex

Lerman Index
partitionComparison-package

partitionComparison: Implements Measures for the Comparison of Two Partitions
pearson

Pearson Index
variationOfInformation

Variation of Information
[<-,Partition-method

Subsetting Partition instances
N10

Method to retrieve the coefficient \(N_{10}\)