Initially, a MizerParams object set up with the mizer setup functions will
have no starvation mortality. This function returns a MizerParams object
with starvation mortality enabled, unless you set starv_coef = 0
, which
will disable starvation mortality again. For the details of how starvation
mortality is modelled see getStarvMort()
.
setStarvation(params, starv_coef = 10)
params | A MizerParams object |
---|---|
starv_coef | Proportionality constant for starvation mortality. the
default is |
A MizerParams object with starvation mortality