View source: R/create_comrad_params.R
create_comrad_params | R Documentation |
Just returns a list with all standard parameters. This makes it easy to modify a few while keeping default values for others.
create_comrad_params( competition_sd = comrad::default_competition_sd(), carrying_cap_sd = comrad::default_carrying_cap_sd(), carrying_cap_opt = comrad::default_carrying_cap_opt(), trait_opt = comrad::default_trait_opt(), growth_rate = comrad::default_growth_rate(), prob_mutation = comrad::default_prob_mutation(), mutation_sd = comrad::default_mutation_sd(), trait_dist_sp = comrad::default_trait_dist_sp(), switch_carr_cap_sd_after = NA, switch_carr_cap_sd_to = NA )
competition_sd |
numeric '>= 0'.Parameter σ_{α} of the competition coefficient. Modulates the the strength of competition between two individuals given their distance in trait space. |
carrying_cap_sd |
numeric '>= 0'. Parameter σ_K of the carrying capacity. Modulates how fast the carrying capacity decays when moving away from the optimal trait value. |
carrying_cap_opt |
numeric, value of the carrying capacity at 'trait_opt' |
trait_opt |
numeric. The optimal trait value, z_{opt}.
|
growth_rate |
numeric '>= 0', the baseline growth rate. Generations being discrete, high values will cause chaos. |
prob_mutation |
numeric between 0 and 1, the probability that any new individual is sampled with a mutation. |
mutation_sd |
numeric '>= 0', the standard deviation of the normal distrbution from which mutations are drawn. |
trait_dist_sp |
numeric, the minimal trait distance between two clusters of individuals triggering speciation. |
Théo Pannetier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.