ari: Adjusted Rand Index

Description Usage Arguments Value

View source: R/evaluation_metrics.R

Description

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

Usage

1
ari(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/cFIT documentation built on July 11, 2021, 11:12 p.m.