sim_stochastic | R Documentation |
Stochastic simulations of multiple fields of aphids and wasps.
sim_stochastic(
clonal_lines,
n_fields = 2,
max_t = 250,
wasp_badger_n = 0,
aphid_demog_error = TRUE,
wasp_demog_error = TRUE,
environ_error = FALSE,
sigma_x = environ$sigma_x,
sigma_y = environ$sigma_y,
rho = environ$rho,
n_reps = 1,
n_threads = 1,
...
)
clonal_lines |
A |
n_fields |
The number of fields to simulate.
Wasps operate at the field level, whereas aphids operate at the
plant level.
Both wasps and aphids operate separately across fields but can be
connected via dispersal (see arguments |
max_t |
How many days to simulate. Defaults to |
wasp_badger_n |
The number of aphids each adult wasp badgers and kills
per time step. Defaults to |
aphid_demog_error |
Logical for whether to have demographic
stochasticity for aphids. Defaults to |
wasp_demog_error |
Logical for whether to have demographic
stochasticity for wasps. Defaults to |
environ_error |
Logical for whether to have environmental stochasticity.
This argument applies to both aphids and wasps, but if you want to
have just one species experience environmental stochasticity,
then you can set their associated |
sigma_x |
Standard deviation of environmental stochasticity for aphids.
This argument has no effect if |
sigma_y |
Standard deviation of environmental stochasticity for wasps.
This argument has no effect if |
rho |
Environmental correlation among instars.
Defaults to |
n_reps |
Number of reps to simulate. Defaults to |
n_threads |
Number of threads to use if OpenMP is enabled
(ignored otherwise).
Find out whether it's enabled using |
sim_experiments()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.