create_plot_objects: Create and/or load RDS file contents from multiple MSE runs

View source: R/create-plot-objects.R

create_plot_objectsR Documentation

Create and/or load RDS file contents from multiple MSE runs

Description

Create and/or load RDS file contents from multiple MSE runs

Usage

create_plot_objects(
  scenarios = c("biasadjust", "climate", "hcr", "selectivity"),
  om_only = rep(FALSE, length(scenarios)),
  overwrite_rds = TRUE,
  ...
)

Arguments

scenarios

A vector of directory names inside the results directory with MSE results

om_only

A vector of logicals of the same length as scenarios indicating if the run is an OM only run (TRUE) or a full MSE with EM estimation (FALSE)

overwrite_rds

If TRUE, all RDS files will be re-created (takes a long time). If FALSE, the files that exists will be loaded and returned

...

Arguments to pass to load_mse_plot_data()

Value

A list of length of scenarios containing MSE output data


pacific-hake/pacifichakemse documentation built on June 11, 2024, 4:07 a.m.