Description Usage Arguments Value
Function to simulate a ssm
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | simul(
ssm,
approx = c("ode", "sde", "psr"),
dt = NULL,
id = 0,
root = NULL,
n_thread = 1,
n_parts = NULL,
start = NULL,
end = NULL,
eps_abs_integ = NULL,
eps_rel_integ = NULL,
freeze_forcing = NULL,
freq = NULL,
interpolator = NULL,
verbose = FALSE,
warning = FALSE,
no_dem_sto = FALSE,
no_white_noise = FALSE,
no_diff = FALSE,
traj = TRUE,
hat = FALSE,
seed_time = TRUE
)
|
ssm |
a |
approx |
character, approximation used to simulate
|
dt |
numeric, integration time step. |
id |
integer, unique integer identifier that will be appended to the output. |
root |
character, root path for output files (if any) (no trailing slash). If |
n_thread |
numeric, number of threads to be used. Default to 1. Use |
n_parts |
numeric, number of particles. |
start, end |
character, starting and ending date of model simulation (in |
eps_abs_integ |
numeric, absolute error for adaptive step-size control. |
eps_rel_integ |
numeric, relative error for adaptive step-size control. |
freeze_forcing |
character, freeze covariates to their value at specified date (in |
freq |
numeric, for simulations outside the data range, print the outputs (and reset incidences to 0 if any) every specified days. |
interpolator |
character, gsl interpolator for covariates |
verbose |
logical, print logs (verbose). Default to |
warning |
logical, print warnings. Default to |
no_dem_sto |
logical, turn off demographic stochasticity (if any). Default to |
no_white_noise |
logical, turn off white noises (if any). Default to |
no_diff |
logical, turn off diffusions (if any). Default to |
traj |
logical, print the trajectories. Default to |
hat |
logical, print the state estimates. Default to |
seed_time |
logical, seed the random number generator with the current time. Default to |
a ssm
object updated with latest SSM output and ready to be piped into another SSM block.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.