View source: R/get_fitness_landscape.R
get_fitness_landscape | R Documentation |
Computes the fitness values at every point in z_seq
, given the community
defined by traits_comm
. This is different from get_fitness()
,
where the fitness is only computed for the trait values of individuals in the
community.
get_fitness_landscape(
z_seq,
traits_comm,
growth_rate = default_growth_rate(),
competition_sd = default_competition_sd(),
carrying_cap_opt = default_carrying_cap_opt(),
carrying_cap_sd = default_carrying_cap_sd()
)
z_seq |
numeric vector, the sequence of trait values along which the fitness landscape should be computed. |
traits_comm |
numeric vector, the trait values of all individuals in the community for which the fitness landscape is to be computed |
growth_rate |
numeric |
competition_sd |
numeric |
carrying_cap_opt |
numeric, value of the carrying capacity at
|
carrying_cap_sd |
numeric |
a tibble
with z_seq
rows and columns z
, fitness
.
Théo Pannetier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.