sim_par | R Documentation |
simulate
.sim_par
defines the simulation parameters & control scenarios used by simulate
.
sim_par( move = c("brw", "rw", "drift"), temp = TRUE, advect = TRUE, noise = NULL, growth = TRUE, shelf = TRUE, scenario = "rs", land = FALSE, boundary = FALSE, ... )
move |
"brw" a biased RW; "rw" simple RW; "drift" no active swimming |
temp |
logical |
advect |
logical |
noise |
numeric; add small random component to u,v vectors - only applies when mode = "drift" |
growth |
logical |
shelf |
logical; should smolts be constrained to stay in water > - 1000 m depth (continental shelf) |
land |
keep track of sim rep hitting land (TRUE) |
boundary |
keep track of sim rep hitting sim boundary (TRUE) |
... |
additional simulation control parameters |
migs |
migration scenario 1 or 2 (stop migration upon arrival to Grand Banks) |
The movement process used predominantly in the simulation is
selected by the move
argument. Additional
parameters include: temp
is movement temperature-dependent; advect
do ocean
currents influence movement; growth
do smolts grow in temp-dependent fashion;
start.date
;
start
(location); coa
centre of attraction (can be NULL);
mdir
directional bias (a 2-element vector);
rho
concentration of step directions (for wrapped-Cauchy, a 2-element vector); ...
Returns a list with components
|
the main move process |
|
temperature-dependent movements |
|
ocean-current-dependent movements |
|
add random noise to current u,v values |
|
temperature-dependent growth |
|
movements constrained to stay on shelf |
|
migration strategy |
|
record if smolt gets "stuck" on land, thereby ending simulation |
|
record if smolt hits simulation boundary, thereby ending simulation |
|
list of additional, required control parameters |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.