getConsumptionByFish: Get rate of consumption of resource by fish

Description Usage Arguments Value

View source: R/UR_dynamics.R

Description

This function is used by the dynamics functions, for example detritus_dynamics() and carrion_dynamics(), in their calculation of the resource biomasses at the next time step. Not exported.

Usage

1
getConsumptionByFish(params, resource, n, rates)

Arguments

params

The MizerParams object

resource

A string with the name of the resource for which the consumption is to be calculated

n

A matrix with the current size spectrum of fish

rates

A list with the rates

Value

A number giving the rate at which the resource is consumed by all the fish in units of grams/year


gustavdelius/mizerUR documentation built on June 24, 2020, 6:28 p.m.