Description Usage Arguments Value
View source: R/Cluster_Evaluation.R
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
1 | cal_metrics(cl1, cl2, randMethod = c("Rand", "FM", "Jaccard"))
|
cl1 |
a vector |
cl2 |
a vector |
randMethod |
a string chosen from "Rand", "FM", or "Jaccard" |
a numeric vector including three values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.