Skip to contents

For each species, returns the difference between the rate of gonad production (calculated with getGonadicProduction) and the rate of offspring biomass production (calculated with getOffspringProduction).

Usage

getReproductiveLoss(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 reproduction biomass loss for each species

Examples

getReproductiveLoss(NS_params)
#>        Sprat      Sandeel       N.pout      Herring          Dab      Whiting 
#> 1.572291e+11 6.332264e+12 2.621121e+11 2.737641e+11 5.280980e+09 8.389938e+10 
#>         Sole      Gurnard       Plaice      Haddock          Cod       Saithe 
#> 2.161179e+10 1.883767e+09 3.843950e+10 6.081030e+10 2.604508e+11 9.614549e+10