plot_k_comparison: Plot k comparison

View source: R/k_val_assit.R

plot_k_comparisonR Documentation

Plot k comparison

Description

Plot the results of comparing k values

Usage

plot_k_comparison(k_comparison)

Arguments

k_comparison

data.frame with k value comparisons returned from the compare_k_vals function.

Value

a ggplot figure

Examples

data(musica)
k_comparison <- compare_k_vals(musica, "SBS96",
  reps = 3, min_k = 1,
  max_k = 5
)
plot_k_comparison(k_comparison)

campbio/musicatk documentation built on Dec. 25, 2024, 9:34 p.m.