cdynsim | R Documentation |
Community dynamics simulation with stock enhancement
cdynsim(
n_timestep = 1000,
n_warmup = 100,
n_burnin = 100,
n_stock_start = NULL,
n_species = 10,
k = 100,
r_type = "constant",
r = 1.5,
r_min = 1,
r_max = 3.5,
sd_env = 0.1,
stochastic = FALSE,
stock = 0,
phi = 1,
int_type = "constant",
alpha = 0.5,
alpha_scale = TRUE,
inv_sign = TRUE,
immigration = 0,
sd_immigration = 0,
p_immigration = 0,
model = "ricker",
seed = 5,
seed_interval = 10,
extinct = 0
)
n_timestep |
Number of simulation time steps to be saved |
n_warmup |
Number of warm-up time steps. Species are randomly seeded during this period with no stock enhancement. |
n_burnin |
Number of burn-in time steps. Stock enhancement operates. |
n_stock_start |
Time step at which stocking starts. |
n_species |
Number of species in a simulated community. |
k |
Carrying capacity. |
r_type |
Generation method for intrinsic population growth rates.
Either |
r |
Intrinsic population growth rate.
Disabled if |
r_min |
Minimum value of intrinsic population growth rate.
Disabled if |
r_max |
Maximum value of intrinsic population growth rate.
Disabled if |
sd_env |
SD of environmental stochasticity in a log scale. |
stochastic |
Whether demographic stochasticity is induced or not.
If |
stock |
Number of released individuals. |
phi |
Fitness of released individuals relative to wild individuals. |
int_type |
Generation method for an interaction matrix.
Either |
alpha |
Competition coefficient.
If |
alpha_scale |
Logical.
If |
inv_sign |
Logical.
Indicate whether the sign of competition coefficients
is multiplied by minus one.
If |
immigration |
Mean immigration per generation.
Immigration is determined as |
sd_immigration |
SD immigration over time in a log scale. |
p_immigration |
Probability of immigration. |
model |
Model for community dynamics.
Either |
seed |
Expected number of seeds. |
seed_interval |
Time interval for seeding. |
extinct |
Absorbing condition. Species with density < extinct will be removed from the simulation. |
df_dyn
df_community
df_species
interaction_matrix
Akira Terui, hanabi0111@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.