Learn R Programming

mizer (version 2.0.3)

mizerFMort: Get the total fishing mortality rate from all fishing gears by time, species and size needed to project standard mizer model

Description

Calculates the total fishing mortality (in units 1/year) from all gears by species and size at each time step in the effort argument. The total fishing mortality is just the sum of the fishing mortalities imposed by each gear, \(\mu_{f.i}(w)=\sum_g F_{g,i,w}\). You would not usually call this function directly but instead use getFMort(), which then calls this function unless an alternative function has been registered, see below.

Usage

mizerFMort(params, effort, ...)

Arguments

params

A '>MizerParams object

effort

A vector with the effort for each fishing gear.

...

Unused

Value

An array (species x size) with the fishing mortality.

Your own fishing mortality function

By default getFMort() calls mizerFMort(). However you can replace this with your own alternative fishing mortality function. If your function is called "myFMort" then you register it in a MizerParams object params with

params <- setRateFunction(params, "FMort", "myFMort")

Your function will then be called instead of mizerFMort(), with the same arguments.

See Also

Other mizer rate functions: mizerEGrowth(), mizerEReproAndGrowth(), mizerERepro(), mizerEncounter(), mizerFMortGear(), mizerFeedingLevel(), mizerMort(), mizerPredMort(), mizerPredRate(), mizerRDI(), mizerRates(), mizerResourceMort()