DAISIE_calc_clade_ana_rate: Calculate the clade-wide effective anagenesis rate. With...

Description Usage Arguments Value Author(s) Examples

View source: R/DAISIE_rates.R

Description

Calculate the clade-wide effective anagenesis rate. With 'effective', this means that if an immigrant undergoes anagenesis, it will become a new species. Would such a species undergo anagenesis again, no net new species is created; the species only gets renamed

Usage

1
DAISIE_calc_clade_ana_rate(ps_ana_rate, n_immigrants)

Arguments

ps_ana_rate

per species anagensis rate

n_immigrants

number of immigrants in that clade

Value

the clade's effective anagenesis rate

Author(s)

Richel J.C. Bilderbeek

Examples

1
2
3
4
5
6
  testit::assert(
    DAISIE_calc_clade_ana_rate(
      ps_ana_rate = 0.3,
      n_immigrants = 5
    ) == 1.5
  )

xieshu95/Trait_dependent_TraiSIE documentation built on Nov. 22, 2019, 7:51 a.m.