get_results_all function

Extract SS3 simulation output

Extract SS3 simulation output

This high level function extracts results from SS3 model runs. Give it a directory which contains directories for different "scenario" runs, within which are iterations. It writes two data.frames to file: one for single scalar values (e.g., MSY) and a second that contains output for each year of the same model (timeseries, e.g., biomass(year)). These can always be joined later.

get_results_all(directory = getwd(), overwrite_files = FALSE, user_scenarios = NULL, parallel = FALSE)

Arguments

  • directory: The directory which contains scenario folders with results.
  • overwrite_files: A switch to determine if existing files should be overwritten, useful for testing purposes or if new iterations are run.
  • user_scenarios: A character vector of scenarios that should be read in. Default is NULL, which indicates find all scenario folders in directory.
  • parallel: Should the function be run on multiple cores? You will need to set up parallel processing as shown in run_ss3sim.

Returns

Creates two .csv files in the current working directory: ss3sim_ts.csv and ss3sim_scalar.csv.

See Also

Other get-results: get_results_derived, get_results_scalar, get_results_scenario, get_results_timeseries

Author(s)

Cole Monnahan, Merrill Rudd

  • Maintainer: Kelli F. Johnson
  • License: MIT + file LICENSE
  • Last published: 2019-11-08