Skip to contents

This control allows the user to adjust the egg density of the selected species. Each time the slider is moved, the entire size spectrum for that species is rescaled so that the initial density matches the new value.

Usage

abundanceControl(input, output, session, params, params_old, flags, ...)

abundanceControlUI(p, input)

Arguments

input

Reactive holding the inputs

output

Reactive holding the outputs

session

Shiny session

params

Reactive value holding updated MizerParams object

params_old

Reactive value holding non-updated MizerParams object

flags

Environment holding flags to skip certain observers

...

Unused

p

The MizerParams object currently being tuned.

Value

A tagList with a slider for the egg density