RandIndex: Rand Index

Description Usage Arguments Value Examples

View source: R/rand_index_test.R

Description

This function calculates the Rand index, a measure of similarity between two partitions and returns a value between 0 and 1 reflecting the agreement of the partitions.

Usage

1
RandIndex(group1, group2)

Arguments

group1

First group.

group2

Second group.

Value

A numeric value between 0 and 1.

Examples

1


cbhagya/perfectphyloR documentation built on Aug. 1, 2021, 1:17 p.m.