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

gadget_stockdistribution_componentR Documentation

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

Description

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

Usage

gadget_stockdistribution_component(
  weight = 0,
  name = "stockdistribution",
  data_function = "sumofsquares",
  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

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.