View source: R/writeTCSAM02_CatchData.R
writeTCSAM02_CatchData | R Documentation |
Function to write catcht data type (retained catch, total catch, discard catch, index catch) to a connection.
writeTCSAM02_CatchData(
con = stdout(),
type = c("RETAINED", "TOTAL", "DISCARD", "INDEX"),
closed = NULL,
lstAbd = inputList_AggregateCatchData("ABUNDANCE"),
lstBio = inputList_AggregateCatchData("BIOMASS"),
lstZCs = inputList_SizeCompsData()
)
con |
: connection (default = stdout()) |
type |
: data type ("RETAINED","TOTAL","DISCARD" or "INDEX") |
closed |
: vector of years when fishery was closed (if fleet is a fishery) |
lstAbd |
: list with abundance data information (see inputList_AggregateCatchData) |
lstBio |
: list with biomass data information (see inputList_AggregateCatchData) |
lstZCs |
: list with size comps data information (see inputList_SizeCompsData) |
See inputList_AggregateCatchData for list structure of lstAbd
and lstBio
.
See inputList_SizeCompsData for list structure of lstZCs
Invisibly returns the connection to facilitate piping.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.