View source: R/user_interface.R
compare_runs_CI_plots | R Documentation |
Generates “CI” (credible interval) line plots that compare
the results of two global model runs. Country- and aggregate-level
(if compare_aggregates
is TRUE
) plots are available.
compare_runs_CI_plots(
run_name_1,
run_name_2,
run_1_output_folder_path = file.path("output", run_name_1),
run_1_plot_label = run_name_1,
run_2_output_folder_path = file.path("output", run_name_2),
run_2_plot_label = run_name_2,
output_folder_path = file.path(run_1_output_folder_path, "fig", "compare_runs_plots"),
plot_data = NULL,
all_women = NULL,
compare_aggregates = TRUE,
verbose = FALSE
)
run_1_output_folder_path |
Filepath to directory where
outputs for |
run_1_plot_label |
The label to use for “run_1” in the
plots. Defaults to |
run_2_output_folder_path |
See
|
run_2_plot_label |
See |
output_folder_path |
Filepath to the directory in which the comparison plots will be saved. |
plot_data |
Logical; should available input data be plotted?
Defaults to |
all_women |
Logical; is the run an all women run such as the
kind produced by |
compare_aggregates |
Logical; should comparison plots be made
for the aggregates as well as the countries? If |
run_1_name |
The name of the first run to compare. |
run_2_name |
The name of the second run to compare. |
Called for the side effect of producing plots.
Mark Wheldon (wrapper) based on underlying function by Jin Rou New and Leontine Alkema.
Jin Rou New, Leontine Alkema, Mark Wheldon
compare_runs_fishbone_plots
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.