sizespectrum / mizerExperimental

Extends the mizer package with experimental features
https://sizespectrum.org/mizerExperimental/
3 stars 5 forks source link

In `interactionControl()` allow control of predators #41

Closed gustavdelius closed 1 year ago

gustavdelius commented 2 years ago

Currently the interactionControlUI() for tuneParams() provides a slider for the interaction of the selected species with all prey species. Often one wants to also control the interaction with predator species, for example when trying to modify the predation mortality of the selected species. Creating a slider for each prey and each predator species will slow down shiny too much in systems with many species. So I propose to have an interactionPreyControlUI() with a drop-down menu for selecting the prey species and a single slider for that selected prey species. Similary there should be an interactionPredatorControlUI() and then interactionControlUI() should just combine the two.