Simulate the cholera model
Usage
chlaa_simulate(
pars,
time,
n_particles = 1,
dt = 0.25,
seed = 1,
n_threads = 1,
deterministic = FALSE
)Arguments
- pars
Parameter list, typically from `chlaa_parameters()`.
- time
Vector of times to simulate at (days).
- n_particles
Number of particles.
- dt
Discrete time step (days).
- seed
RNG seed.
- n_threads
Threads for dust2.
- deterministic
Run in deterministic mode (replacing RNG draws with expectations) if supported.