SSbiologytables: A function to create a table of biology for assessment...

View source: R/SSbiologytables.R

SSbiologytablesR Documentation

A function to create a table of biology for assessment reporting: length, weight, % mature, fecundity, and selectivity

Description

Takes the object created by SS_output to create table for reporting for West Coast groundfish. Works with Stock Synthesis versions 3.30.12 and later.

Usage

SSbiologytables(
  replist = NULL,
  printfolder = "tables",
  dir = "default",
  fleetnames = "default",
  selexyr = "default"
)

Arguments

replist

A list object created by SS_output().

printfolder

The sub-directory under 'dir' (see below) in which the PNG files will be located. The default sub-directory is "plots". The directory will be created if it doesn not exist. If 'printfolder' is set to "", it is ignored and the PNG files will be located in the directory specified by 'dir'.

dir

A file path to the directory of interest. The default value is dir = NULL, which leads to using the current working directory.

fleetnames

Optional replacement for fleetnames used in data file.

selexyr

The year to summarize selectivity, the default is the final model yr strings to use for each fleet name. Default="default".

Value

A csv files containing biology and selectivity tables

Author(s)

Chantel Wetzel


r4ss/r4ss documentation built on April 30, 2024, 4:42 a.m.