Construct a fitness landscape.
fitness_landscape(trait_matrix, 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.