viable_fitness.Rd
Compute region of positive fitness. This will be the values where fitness is approximately zero.
viable_fitness(bounds, p, x = NULL, log_scale = TRUE, dx = 1)
bounds | Matrix of bounds; two columns corresponding to the lower and upper limits, each row corresponds to a trait (the name will be used). |
---|---|
p | Parameters object to use. Importantly, the
|
x | Initial value - If not given, then the value from the
default strategy within |
log_scale | Is the parameter naturally on a log scale? If
so, this will greatly speed things up. Can be a vector of length
` |
dx | Amount to step the trait. If |
Rich FitzJohn