extractFits.SizeComps: Extract fits to size comps by fleet from several model runs

View source: R/extractFits.SizeComps.R

extractFits.SizeCompsR Documentation

Extract fits to size comps by fleet from several model runs

Description

Function to extract fits to size comps by fleet from several model runs.

Usage

extractFits.SizeComps(
  objs = NULL,
  fleets = "all",
  fleet.type = c("survey", "fishery"),
  catch.type = c("index", "retained", "discard", "total"),
  years = "all",
  plot1stObs = TRUE,
  verbose = FALSE
)

Arguments

fleets
  • names of fleets to include (or "all")

fleet.type
  • fleet type ('fishery' or 'survey')

catch.type
  • catch type ('index','retained', or 'total')

years
  • years to plot, as numerical vector (or "all" to extract all years)

plot1stObs
  • flag (T/F) to extract observations only from first case, or vector of case names to return observations for

verbose
  • flag (T/F) to print diagnostic information

obj
  • object that can be converted into a list of tcsam2013.resLst and/or tcsam02.resLst objects

Details

Uses rTCSAM2013::getMDFR.SurveyQuantities(), rTCSAM2013::getMDFR.FisheryQuantities(), rTCSAM02::getMDFR.Fits.FleetData().

Value

dataframe in canonical format


wStockhausen/rCompTCMs documentation built on Aug. 27, 2024, 7:15 p.m.