Closed gustavdelius closed 2 years ago
There is a small problem with this idea, namely that while tuning the growth curves for example, one will mess up the biomass calibration for example, so one will in practice like to be able to head over to the Biomass tab easily to check and adjust if needed. So perhaps keep tuning of Biomass and of Growth together, but remove everything else?
Another idea is to have tuneGrowth()
automatically do a retuning of the biomasses (or the yields). So each time the user hits the steady() button the gadget actually does params %>% steady() %>% calibrateBiomass() %>% matchBiomasses() %>% steady()
. That way the steady state should always stay reasonably close to the desired biomasses. tuneGrowth()
could have an argument auto
with options "biomass" or "yield" or "none" in order to determine whether to keep biomasses or yields automatically in agreement with observations.
This idea works unbelievably well. See tuneGrowth()
.
I have now made a blog post about this at https://blog.mizer.sizespectrum.org/posts/2021-09-07-tuning-growth-curves-with-a-shiny-gadget/
An idea just prompted by @juliablanchard : In order not to overwhelm the user with too many buttons and sliders right from the start, we should have functions that start up the gadget with only those controls and tabs needed for a particular task. So for example there should be a
tuneGrowth()
function that startstuneParams()
with the optionscontrol = "predation"
andtabs = "Growth"
.