apply_evolution | R Documentation |
Allows defining the function that changes the values of traits of a given species at each time-step and in each site. If no operations are provided, traits are not changing
apply_evolution(species, cluster_indices, landscape, config)
species |
the target species object whose traits will be changed |
cluster_indices |
an index vector indicating the cluster every occupied site is part of |
landscape |
the current landscape which can co-determine the rate of trait changes |
config |
the current config |
This function is called for any single species alongside an index for the geographical clusters within the species
the mutated species traits matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.