readFLSss3 | R Documentation |
Results of a run of the Stock Synthesis sofware, SS3 (Methot & Wetzel, 2013),
can be loaded into an object of class FLStock
. The code makes
use of the r4ss::SS_output function to obtain a list from Report.sso. The
following elements of that list are used to generate the necessary information
for the slots in FLStock
: "catage", "natage", "ageselex",
"endgrowth", "catch_units", "nsexes", "nseasons", "nareas", "IsFishFleet",
"fleet_ID", "FleetNames", "spawnseas", "inputs" and "SS_version".
readFLSss3(
dir,
repfile = "Report.sso",
compfile = "CompReport.sso",
wtatage = out$wtatage_switch,
...
)
dir |
Directory holding the SS3 output files |
... |
Any other argument to be passed to |
birthseas |
Birth seasons for this stock, defaults to spawnseas |
name |
Name of the output object to fil the name slot |
desc |
Description of the output object to fill the desc slot |
An object of class \link{FLStock}
The FLR Team
Methot RD Jr, Wetzel CR (2013) Stock Synthesis: A biological and statistical framework for fish stock assessment and fishery management. Fisheries Research 142: 86-99.
FLComp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.