adfgWrite_TCSAMInputFile: Write ADFG data to a TCSAM input file

View source: R/adfgWrite_TCSAMInputFile.R

adfgWrite_TCSAMInputFileR Documentation

Write ADFG data to a TCSAM input file

Description

Function to write ADFG data to a TCSAM input file.

Usage

adfgWrite_TCSAMInputFile(
  fishery = NULL,
  fn = "Data.Fishery.ADFG.inp",
  closed = NULL,
  lstRC = NULL,
  lstTC = NULL,
  lstEff = NULL
)

Arguments

fishery
  • TCSAM fishery name

fn
  • output file name (writes to stdout if NULL or empty)

closed
  • vector of years when fishery was closed

lstRC
  • input list with retained catch abundance/biomass/size comps information (see Details)

lstTC
  • input list with total catch abundance/biomass/size comps information (see Details)

lstEff
  • input list with effort data information (see Details)

Details

Calls tcsamFunctions::writeInputFile_FleetData() with type="FISHERY" and lstIC and lstDC set to NULL.

If not NULL, input lstRC should be a list for retained catch data with elements

  • lstAbd - NULL, or list as returned by tcsamFunctions::inputList_AggregateCatchData() with type "ABUNDANCE"

  • lstBio - NULL, or list as returned by tcsamFunctions::inputList_AggregateCatchData() with type "BIOMASS"

  • lstZCs - NULL, or list as returned by tcsamFunctions::inputList_SizeCompsData()

If not NULL, input lstTC should be a list for total catch data with elements

  • lstAbd - NULL, or list as returned by tcsamFunctions::inputList_AggregateCatchData() with type "ABUNDANCE"

  • lstBio - NULL, or list as returned by tcsamFunctions::inputList_AggregateCatchData() with type "BIOMASS"

  • lstZCs - NULL, or list as returned by tcsamFunctions::inputList_SizeCompsData()

If not NULL, input lstEff should be a list for effort data as returned by tcsamFunctions::inputList_EffortData().

Value

Nothing.


wStockhausen/tcsamFisheryDataADFG documentation built on April 18, 2023, 12:56 p.m.