fitness_landscape.Rd
Construct a fitness landscape.
fitness_landscape( trait_matrix, p, hyperpar = param_hyperpar(p), raw_seed_rain = FALSE )
trait_matrix | A matrix of traits corresponding to mutants to
introduce into the light environment constructed by the residents
in |
---|---|
p | Parameters object. Needs to contain residents with their incoming seed rain. |
raw_seed_rain | Logical; if |
Vector with the output seed rain. Mutants have an arbitrary seed rain of one, so this is the rate of seed production per capita.
Rich FitzJohn