Internal function that updates the all the max rates at time t.
update_max_rates(
gam,
laa,
lac,
mu,
hyper_pars = NULL,
extcutoff,
K,
num_spec,
num_immigrants,
mainland_n,
Amin,
Amax
)a named list with the updated effective rates.
A numeric with the per capita immigration rate.
A numeric with the per capita anagenesis rate.
A numeric with the per capita cladogenesis rate.
A numeric with the per capita extinction rate.
A named list of numeric hyperparameters for the rate
calculations as returned by create_hyper_pars():
[1]: is d the scaling parameter for exponent for calculating cladogenesis rate
[2]: is x the exponent for calculating extinction rate
A numeric with the cutoff for the the maximum extinction rate preventing it from being too large and slowing down simulation.
A numeric with carrying capacity.
A numeric with the current number of species.
A numeric with the current number of non-endemic species (a.k.a non-endemic species).
A numeric stating the number of mainland species, that is the number of species that can potentially colonize the island. If using a clade-specific diversity dependence, this value is set to 1. If using an island-wide diversity dependence, this value is set to the number of mainland species.
A numeric value for minimum island area during the simulation.
A numeric value for maximum island area during the simulation.
update_rates()
Other rate calculations:
DAISIE_plot_area(),
get_ana_rate(),
get_ext_rate(),
get_immig_rate(),
island_area(),
island_area_vector(),
update_rates()