get_results_all: Extract SS3 simulation output

Description Usage Arguments Value Author(s) See Also

View source: R/get-results.r

Description

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.

Usage

1
2
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.

Value

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

Author(s)

Cole Monnahan, Merrill Rudd

See Also

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


ss3sim documentation built on Nov. 9, 2019, 1:06 a.m.