get_best_kxi: Get best k-Xi model

View source: R/opticskxi_pipeline.R

get_best_kxiR Documentation

Get best k-Xi model

Description

Select k-Xi clustering model based on a metric and a rank

Usage

get_best_kxi(df_kxi, metric = "avg.silwidth", rank = 1)

Arguments

df_kxi

Data frame returned by opticsxi_pipeline

metric

Metric to choose best model

rank

Rank(s) of model to choose, ordered by decreasing metric

Value

df_kxi row with specified metric and rank, simplified to a list if only one rank selected

See Also

opticskxi_pipeline


ThomasChln/opticskxi documentation built on April 12, 2025, 5:43 a.m.