steady | R Documentation |
The steady state is found by running the dynamics while keeping reproduction,
resource and other components constant until the size spectra no longer
change much (or until time t_max
is reached, if earlier).
steady(
params,
t_max = 100,
t_per = 1.5,
dt = 0.1,
tol = 0.1 * dt,
return_sim = FALSE,
preserve = c("reproduction_level", "erepro", "R_max"),
progress_bar = TRUE
)
If the model use Beverton-Holt reproduction then the reproduction parameters
are set to values that give the level of reproduction observed in that
steady state. The preserve
argument can be used to specify which of the
reproduction parameters should be preserved.
A MizerParams or a MizerSim object
params <- newTraitParams()
species_params(params)$gamma[5] <- 3000
params <- steady(params)
plotSpectra(params)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.