Skip to contents

Produces a faceted line chart with \(K\) on the x-axis and each metric on its own facet. Topic-level rows are aggregated to their aggregate mean before plotting; only level == "aggregate" rows are shown.

Usage

# S3 method for class 'nlp_k_selection'
plot(x, metrics = NULL, ...)

Arguments

x

An nlp_k_selection object returned by select_k_topics().

metrics

Character vector of metrics to include. Defaults to all supported metrics present in x.

...

Unused.

Value

A ggplot2::ggplot() object.