Plotting Function for All Basic Quantities
plot_all_basic.RdConvenience wrapper that calls all core SPoRC plotting functions and writes
their output to a single PDF file. Equivalent to calling
get_biological_plot, get_data_fitted_plot, get_ts_plot,
get_selex_plot, and get_nLL_plot in sequence and printing each
to the same device.
Arguments
- data
List of length
n_models, where each element is a SPoRC data list. Passed toget_biological_plot,get_data_fitted_plot, andget_nLL_plot.- rep
List of length
n_models, where each element is a SPoRC report list (i.e. the output ofobj$report()after optimisation). Passed toget_biological_plot,get_ts_plot,get_selex_plot, andget_nLL_plot.- sd_rep
List of length
n_models, where each element is a SPoRC sdreport list (i.e. the output ofsdreport(obj)). Passed toget_ts_plotfor delta-method confidence intervals.- model_names
Character vector of length
n_modelsgiving display names for each model run. Passed to all sub-functions as legend and facet labels.- out_path
Path to the output directory. The PDF is written to
here::here(out_path, "plot_results.pdf")at 25 × 13 inches per page.
See also
Other Plotting:
get_biological_plot(),
get_data_fitted_plot(),
get_selex_plot(),
get_ts_plot(),
theme_sablefish()