get_clado_rate {DAISIE} | R Documentation |
Calculate cladogenesis rate
Description
Internal function. Calculates the cladogenesis rate given the current number of species in the system, the carrying capacity and the per capita cladogenesis rate
Usage
get_clado_rate(
lac,
hyper_pars,
num_spec,
K,
A,
trait_pars = NULL,
island_spec = NULL
)
Arguments
lac |
A numeric with the per capita cladogenesis rate. |
hyper_pars |
A named list of numeric hyperparameters for the rate
calculations as returned by
|
num_spec |
A numeric with the current number of species. |
K |
A numeric with carrying capacity. |
A |
A numeric value for island area at a given point in time. |
trait_pars |
A named list containing diversification rates considering
two trait states created by
|
island_spec |
Matrix with current state of simulation containing number of species. |
Author(s)
Pedro Neves, Joshua Lambert, Shu Xie