sizespectrum / mizer

Multi-species size-based ecological modelling in R
https://sizespectrum.org/mizer
38 stars 43 forks source link

Function for automatically adjusting `h` and `gamma` to match observed growth and feeding level #261

Closed gustavdelius closed 1 year ago

gustavdelius commented 2 years ago

There should be a function matchGrowth() that adjusts the values for h and gamma so that, given the initial abundances, the model matches the feeding level f0 at least at the smallest size and matches the age at maturity (determined either from the von Bertalanffy curve or from a_mat, see #260 ).

gustavdelius commented 2 years ago

This is now in mizerExperimental, see https://github.com/sizespectrum/mizerExperimental/commit/32192a7446682e523ecfd6d055d5a9158e6df2e9

gustavdelius commented 1 year ago

I have now moved this to mizer.