% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-evaluation.R
\name{cluster_agreement}
\alias{cluster_agreement}
\title{Agreement between two partitions}
\usage{
cluster_agreement(a, b)
}
\arguments{
\item{a, b}{Integer/character/factor label vectors of equal length.}
}
\value{
A named numeric vector \code{c(ARI, NMI, Jaccard)}.
}
\description{
Computes the adjusted Rand index (ARI), normalised mutual information (NMI)
and pairwise Jaccard between two label vectors of equal length.
}
\details{
ARI rule of thumb: \code{>0.90} excellent; \code{0.75-0.90} good;
\code{0.50-0.75} moderate; \code{<0.50} weak.
}
\examples{
cluster_agreement(c(1, 1, 2, 2), c(2, 2, 1, 1))   # identical up to relabel
}
