sizespectrum / mizer

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

In default for `gamma` take `interaction_resource` into account #238

Closed gustavdelius closed 2 years ago

gustavdelius commented 3 years ago

The idea behind get_gamma_default() should be to choose gamma so that at least the larvae have a feeding level of f0 when the resource is given by the power law. So therefore the species parameter interaction_resource needs to be taken into account. Currently it is overwritten with 1 while the calculation of the default is done.