Description Usage Arguments Value Author(s) Examples
Calculate the clade-wide immigration rate.
1 2 | DAISIE_calc_clade_imm_rate(ps_imm_rate, n_island_species,
n_mainland_species, carr_cap)
|
ps_imm_rate |
per species immigration rate |
n_island_species |
number of species in that clade on the island |
n_mainland_species |
number of species in that clade on the mainland |
carr_cap |
carrying capacity, number of species this clade will grow to |
the clade's immigration rate, which is at least zero. This rate will be zero if there are more species than the carrying capacity allows for
Richel J.C. Bilderbeek
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | testit::assert(
DAISIE_calc_clade_imm_rate(
ps_imm_rate = 0.1,
n_island_species = 5,
n_mainland_species = 2,
carr_cap = 10
) == 0.1
)
testit::assert(
DAISIE_calc_clade_imm_rate(
ps_imm_rate = 0.1,
n_island_species = 5,
n_mainland_species = 2,
carr_cap = 1
) == 0.0
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.