Learn R Programming

tidylearn (version 0.1.0)

plot_gap_stat: Plot Gap Statistic

Description

Plot Gap Statistic

Usage

plot_gap_stat(gap_obj, show_methods = FALSE)

Value

A ggplot object

Arguments

gap_obj

A tidy_gap object

show_methods

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