Learn R Programming

MGMM (version 0.3.1)

ChooseK.recommend: Recommend Cluster Number based on Bootstrap Results.

Description

Recommend Cluster Number based on Bootstrap Results.

Usage

ChooseK.recommend(results, metric, max_opt = FALSE)

Arguments

results

Data.frame of bootstrap results

metric

String, metric of interest.

max_opt

Is maximizing the metric optimal?

Value

Data.frame containing:

  • `Metric` name.

  • Optimal cluster number `k_opt` and metric value `Metric_opt`.

  • 1SE cluster number `k_1se` and metric value `Metric_1se`.