plot_gap_stat: Plot Gap Statistic

View source: R/unsupervised-validation.R

plot_gap_statR Documentation

Plot Gap Statistic

Description

Plot Gap Statistic

Usage

plot_gap_stat(gap_obj, show_methods = FALSE)

Arguments

gap_obj

A tidy_gap object

show_methods

Logical; show all three k selection methods? (default: FALSE)

Value

A ggplot object


tidylearn documentation built on Feb. 6, 2026, 5:07 p.m.