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

gadget_stomachcontent_componentR Documentation

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

Description

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

Usage

gadget_stomachcontent_component(
  weight = 0,
  name = "stomachcontent",
  data_function = "scsimple",
  epsilon = 10,
  area = NULL,
  predator_length = NULL,
  prey_length = NULL,
  prey_labels = list(),
  prey_digestion_coefficients = list(),
  predator_names = c(),
  data = NULL
)

Arguments

weight

A numeric weighting

name

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

data_function

Comparison function to use

epsilon

Used when probability is very unikely, default 10.

area

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

predator_length

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

prey_length

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

prey_labels

Named list of (prey name) -> (stock names)

prey_digestion_coefficients

Named list of (prey name) -> (digestion coefficients)

predator_names

A list of all the predators to be aggregated into a single pseudo predator

data

Stomach content data.frame


Hafro/rgadget documentation built on July 21, 2022, 8:38 a.m.