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

gadget_catchdistribution_componentR Documentation

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

Description

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

Usage

gadget_catchdistribution_component(
  weight = 0,
  name = "catchdistribution",
  data_function = "sumofsquares",
  data_function_params = list(),
  aggregationlevel = FALSE,
  overconsumption = FALSE,
  epsilon = 10,
  data = NULL,
  area = NULL,
  age = NULL,
  length = 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_function_params

Parameters if using a multivariate function

aggregationlevel

Boolean. aggregate data over whole year? Default false.

overconsumption

Boolean, take overconsumption into account? Default false.

epsilon

Used when probability is very unikely, default 10.

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

length

Length 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


bthe/rgadget documentation built on July 22, 2022, 7:24 a.m.