Internal function. Calculates the anagenesis rate given the current number of immigrant species and the per capita rate.
get_ana_rate(laa, num_immigrants, island_spec = NULL, trait_pars = NULL)
A numeric with the per capita anagenesis rate.
A numeric with the current number of non-endemic species (a.k.a non-endemic species).
Matrix with current state of simulation containing number of species.
A named list containing diversification rates considering
two trait states created by create_trait_pars
:
[1]:A numeric with the per capita transition rate with state1
[2]:A numeric with the per capita immigration rate with state2
[3]:A numeric with the per capita extinction rate with state2
[4]:A numeric with the per capita anagenesis rate with state2
[5]:A numeric with the per capita cladogenesis rate with state2
[6]:A numeric with the per capita transition rate with state2
[7]:A numeric with the number of species with trait state 2 on mainland
Pedro Neves, Joshua Lambert, Shu Xie
Other rate calculations:
DAISIE_plot_area()
,
get_ext_rate()
,
get_immig_rate()
,
island_area()
,
island_area_vector()
,
update_max_rates()
,
update_rates()