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


perfectphyloR documentation built on March 8, 2021, 9:06 a.m.