Skip to contents

Reports the species whose rate arrays have been set manually. The listed parameters are retained inputs for recalculation after a reset: they no longer determine this rate for this species, but may still contribute to other rates or derivations. Resource overrides have NA in species.

Usage

rate_overrides(params)

Arguments

params

A MizerParams object.

Value

A data frame with one row per overridden rate and species, columns rate, species, parameters (a list of parameter names), and reset (a call restoring parameter-driven calculation for that species). The predation kernel can only be set as a whole, so its reset call restores the calculation for all species.

Examples

params <- NS_params
metab(params, species = "Cod") <- 0.5 * w(params)^0.8
rate_overrides(params)
#>    rate species   parameters
#> 1 metab     Cod ks, k, p....
#>                                                     reset
#> 1 setMetabolicRate(params, reset = TRUE, species = "Cod")
params <- setMetabolicRate(params, species = "Cod", reset = TRUE)