adjustedRandIndex: Adjusted Rand Index

View source: R/evaluation_functions.R

adjustedRandIndexR Documentation

Adjusted Rand Index

Description

A function to compute the adjusted rand index between two classifications.

Usage

adjustedRandIndex(x, y)

Arguments

x

a vector containing the labels of the first classification. Must be a vector of characters, integers, numerics, or a factor, but not a list.

y

a vector containing the labels of the second classification.

Value

a scalar with the adjusted rand index.


pengminshi/MRtree documentation built on March 6, 2023, 4:20 p.m.