Learn R Programming

DLMtool (version 5.0)

SS2Data: Reads data Stock Synthesis file structure into an data object using package r4ss

Description

A function that uses the file location of a fitted SS3 model including input files to population the various slots of an data object

Usage

SS2Data(SSdir, Source = "No source provided", length_timestep = NA,
  Name = "", Author = "No author provided", printstats = F, verbose = T)

Arguments

SSdir

A folder with Stock Synthesis input and output files in it

Source

Reference to assessment documentation e.g. a url

length_timestep

The duration (in years) of each timestep in the model (if an quarterly model is used this is 0.25)

Name

The name of the operating model

Author

Who did the assessment

printstats

Should the r4ss function SS_output return info on data that was read in?

verbose

Should the r4ss function SS_ouput return detailed messages?