| projectToSteady | R Documentation |
Run the full dynamics, as in project(), but stop once the change has slowed
down sufficiently, in the sense that the distance between states at
successive time steps is less than tol. You determine how the distance is
calculated.
projectToSteady(
params,
effort = params@initial_effort,
distance_func = distanceSSLogN,
t_per = 1.5,
t_max = 100,
dt = 0.1,
tol = 0.1 * t_per,
return_sim = FALSE,
progress_bar = TRUE,
...
)
params |
A MizerParams object |
effort |
The fishing effort to be used throughout the simulation. This must be a vector or list with one named entry per fishing gear. |
distance_func |
A function that will be called after every |
t_per |
The simulation is broken up into shorter runs of |
t_max |
The maximum number of years to run the simulation. Default is 100. |
dt |
The time step to use in |
tol |
The simulation stops when the relative change in the egg
production RDI over |
return_sim |
If TRUE, the function returns the MizerSim object holding
the result of the simulation run, saved at intervals of |
progress_bar |
A shiny progress object to implement a progress bar in a shiny app. Default FALSE. |
... |
Further arguments will be passed on to your distance function. |
A MizerParams or a MizerSim object
distanceSSLogN(), distanceMaxRelRDI()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.