Skip to contents

This function is called when a species parameter is changed. It calculates the steady state for the changed species and updates the params object.

Usage

tuneParams_update_species(sp, p, params, params_old)

Arguments

sp

The species to update

p

The params object

params

The reactive params object

params_old

The reactive params object before the change

Details

If an update_species_hook was set by tuningGadget(), it is called after steadySingleSpecies() to allow package-specific post-processing (e.g., matchBiomasses() in mizerEcopath).