Learn R Programming

dtwclust (version 2.1.1)

randIndex: Compare partitions

Description

Compute the (adjusted) Rand, Jaccard and Fowlkes-Mallows index for agreement of two partitions. This generic is included in the flexclust package.

Usage

## S3 method for class 'dtwclust,ANY':
randIndex(x, y, correct = TRUE,
  original = !correct)

## S3 method for class 'ANY,dtwclust': randIndex(x, y, correct = TRUE, original = !correct)

## S3 method for class 'dtwclust,dtwclust': randIndex(x, y, correct = TRUE, original = !correct)

Arguments

x, y, correct, original

See Also

randIndex