get_fitness | R Documentation |
Fitness values are computed for each individual from their trait value, the fitness landscape defined by the carrying capacity parameters, and the trait values of all other individuals in the community.
get_fitness(
traits_comm,
growth_rate = default_growth_rate(),
competition_sd = default_competition_sd(),
trait_opt = default_trait_opt(),
carrying_cap_opt = default_carrying_cap_opt(),
carrying_cap_sd = default_carrying_cap_sd(),
fitness_func = fitness_func_ricker
)
traits_comm |
numeric vector of variable length, the trait values of every individual in the community. |
growth_rate |
numeric |
competition_sd |
numeric |
trait_opt |
numeric. The optimal trait value, |
carrying_cap_opt |
numeric, value of the carrying capacity at
|
carrying_cap_sd |
numeric |
fitness_func |
the name of the function used to compute fitness. |
Theo Pannetier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.