Skip to contents

For each species, returns the rate at which gonad biomass is produced by all individuals of that species.

Usage

getGonadicProduction(params, ...)

Arguments

params

A MizerParams object

...

Arguments passed on to mizer::get_size_range_array

min_w

Smallest weight in size range. Defaults to smallest weight in the model.

max_w

Largest weight in size range. Defaults to largest weight in the model.

min_l

Smallest length in size range. If supplied, this takes precedence over min_w.

max_l

Largest length in size range. If supplied, this takes precedence over max_w.

Value

A named vector of gonadic production for each species

Examples

getGonadicProduction(NS_params)
#>        Sprat      Sandeel       N.pout      Herring          Dab      Whiting 
#> 1.579603e+11 6.332674e+12 2.718592e+11 2.748652e+11 5.292132e+09 8.444036e+10 
#>         Sole      Gurnard       Plaice      Haddock          Cod       Saithe 
#> 2.165035e+10 2.612899e+09 7.116969e+10 6.254806e+10 2.604591e+11 9.625723e+10