SSgetoutput: Get output from multiple Stock Synthesis models.

View source: R/SSgetoutput.R

SSgetoutputR Documentation

Get output from multiple Stock Synthesis models.

Description

Apply the function SS_output() multiple times and save output as individual objects or a list of lists.

Usage

SSgetoutput(
  keyvec = NULL,
  dirvec = NULL,
  getcovar = TRUE,
  getcomp = TRUE,
  forecast = TRUE,
  verbose = TRUE,
  ncols = 210,
  listlists = TRUE,
  underscore = FALSE,
  save.lists = FALSE
)

Arguments

keyvec

A vector of strings that are appended to the output files from each model if models are all in one directory. Default=NULL.

dirvec

A vector of directories (full path or relative to working directory) in which model output is located. Default=NULL.

getcovar

Choice to read or not read covar.sso output (saves time and memory). Default=TRUE.

getcomp

Choice to read or not read CompReport.sso output (saves time and memory). Default=TRUE.

forecast

Choice to read or not read forecast quantities. Default=FALSE.

verbose

Print various messages to the command line as the function runs? Default=TRUE.

ncols

Maximum number of columns in Report.sso (same input as for SS_output()). Default=210.

listlists

Save output from each model as a element of a list (i.e. make a list of lists). Default = TRUE.

underscore

Add an underscore '_' between any file names and any keys in keyvec. Default=FALSE.

save.lists

Save each list of parsed output as a .Rdata file (with default filenaming convention based on iteration and date stamp.

Author(s)

Ian Taylor

See Also

SS_output() SSsummarize()


r4ss documentation built on May 28, 2022, 1:11 a.m.