http://hafro.github.io/gadget/docs/userguide/chap-like.html#sec:catchstat

gadget_catchstatistics_component(
  weight = 0,
  name = "catchstatistics",
  data_function = NULL,
  data = NULL,
  area = NULL,
  age = NULL,
  fleetnames = c(),
  stocknames = c()
)

Arguments

weight

A numeric weighting

name

A descriptive name for the component, default same as component type

data_function

Function to be used to compare the modelled statistical data to the input statistical data

data

data.frame required by the data_function

area

Area aggregation, if not attached to the data.frame by MFDB

age

Age aggregation, if not attached to the data.frame by MFDB

fleetnames

A list of all the fleets to be aggregated into a single pseudo fleet for the purposes of the data comparison

stocknames

A list of all the stocks to be aggregated into a single pseudo stock