apply_evolution {gen3sis} | 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
Description
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
Usage
apply_evolution(species, cluster_indices, landscape, config)
Arguments
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 |
Details
This function is called for any single species alongside an index for the geographical clusters within the species
Value
the mutated species traits matrix
[Package gen3sis version 1.5.11 Index]