View source: R/setInitialValues.R
| setInitialValues | R Documentation |
This function is deprecated. Use
getParams(), initialParams(), or
finalParams() instead. These functions return a MizerParams object
with the ecosystem state extracted from a simulation.
setInitialValues(params, sim, time_range, geometric_mean = FALSE, ...)
The params object with updated initial values and initial effort.
params <- NS_params
sim <- project(params, t_max = 20, effort = 0.5)
params <- setInitialValues(params, sim)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.