Creates a 2 x 3 grid of line plots (Quality and Behavior for T&C, MRRE, LCMC) for a given distance metric.
Arguments
- profile_data
A data frame as returned by
k_profiles().- metric
Character string specifying which distance metric to plot. If
NULL, returns a list of plots for all metrics.
Examples
if (FALSE) { # \dontrun{
data(cars_mm)
x <- standardize(cars_mm)
proj <- run_idr(x)
profiles <- k_profiles(x, proj, K_max = 10)
plot_k_profiles(profiles, metric = "Wasserstein")
} # }