Skip to contents

This function is called when the abundance of a species is changed directly i.e., not when it is changed as a consequence of a parameter change. It will make the change permanent by also saving it in params_old.

Usage

tuneParams_update_abundance(p, sp, params, params_old)

Arguments

p

The params object

sp

The species to update

params

The reactive params object

params_old

The reactive params object before the change