randCalc: Rand Index

View source: R/rccmSummary.R

randCalcR Documentation

Rand Index

Description

This function calculates the rand index describing the amount of agreement between two integer vectors of cluster memberships.

Usage

randCalc(x, y)

Arguments

x

First integer vector of cluster memberships.

y

Second integer vector of cluster memberships.

Value

The rand index value, bounded between 0 and 1.


dilernia/rccm documentation built on Sept. 25, 2022, 9:40 a.m.