getMDFR.Fisheries.CatchBiomass: Get fishery catch biomass time series from model results from...

View source: R/getMDFR.Fisheries.CatchBiomass.R

getMDFR.Fisheries.CatchBiomassR Documentation

Get fishery catch biomass time series from model results from TCSAM02 model runs as a dataframe

Description

Function to get fishery catch biomass time series from model results from TCSAM02 model runs as a dataframe.

Usage

getMDFR.Fisheries.CatchBiomass(
  tcsams,
  category = c("captured", "discarded", "retained", "discard mortality", "index"),
  cast = "x",
  verbose = FALSE
)

Arguments

tcsams
  • single tcsam02.rep object, tcsam02.resLst object, or named list of the latter

category
  • 'captured','discarded','retained', 'discard mortality', or 'index'

cast
  • casting formula (or NULL) for excluding x,m,s,z factor levels from an average-at-size across unspecified factors

verbose
  • flag (T/F) to print debug info

Details

If 'cast' is not NULL (nor blank), the final cast'ing formula is "case+process+fleet+category+type+pc+y+cast~.".

Value

dataframe in canonical format


wStockhausen/rTCSAM02 documentation built on April 16, 2024, 6:25 a.m.