Skip to contents

Calculates the adjusted Rand index between two sets of cluster assignments.

Usage

calc_ari(members_a, members_b)

Arguments

members_a

Integer vector. Membership/assignment of the first clustering algorithm.

members_b

Integer vector. Membership/assignment of the second clustering algorithm.

Value

Adjusted Rand index