View source: R/figures-convergence.R
plot_convergence | R Documentation |
This function plots cumulative performance metric values across iterations to assess convergence.
plot_convergence(
object_list,
pm_list = c("LTY", "PNOF"),
label_gap = 1.15,
custom_pal = NULL,
ylim = c(min(df$value), 1),
satisficed = NULL,
french = isTRUE(getOption("french"))
)
object_list |
A (named) list of MSEtool MSE objects. |
pm_list |
A list or vector of performance metrics as character. |
label_gap |
Controls the gap on the right of each panel to make space for the MP labels. This value is multiplied by the maximum number of iterations to expand the x axis. |
custom_pal |
An optional custom color palette. Should be a named character vector |
ylim |
Y limits. Defaults to the minimum observed performance metric value (via lazy evaluation) and 1. |
satisficed |
An optional named numeric vector. The names correspond to the performance metrics and the values correspond to the threshold. This will add a horizontal line on the relevant panels. |
french |
French? |
A ggplot2 plot.
plot_convergence(mse_example)
plot_convergence(mse_example, satisficed = c("LTY" = 0.9))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.