cal_metrics {FEAST} | R Documentation

## Calculate 3 metrics and these methods are exported in C codes. flag = 1 — Rand index, flag = 2 — Fowlkes and Mallows's index, flag = 3 — Jaccard index

### Description

Calculate 3 metrics and these methods are exported in C codes. flag = 1 — Rand index, flag = 2 — Fowlkes and Mallows's index, flag = 3 — Jaccard index

### Usage

    cal_metrics(cl1, cl2, randMethod = c("Rand", "FM", "Jaccard"))

### Arguments

`cl1` | a vector
`cl2` | a vector
`randMethod` | a string chosen from "Rand", "FM", or "Jaccard"

### Value

a numeric vector including three values

[Package FEAST version 1.0.0 Index]