get_best_kxi {opticskxi}R 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


[Package opticskxi version 0.1 Index]