create_rates: Create the rates per ?island

Description Usage Arguments Value Examples

Description

Create the rates per ?island

Usage

1
2
create_rates(immig_rate, ext_rate, ana_rate, clado_rate, ext_rate_max,
  immig_rate_max, clado_rate_max)

Arguments

immig_rate

immigration rate

ext_rate

extinction rate

ana_rate

anagenesis rate

clado_rate

cladogenesis rate

ext_rate_max

maximum extinction rate

immig_rate_max

maximum immigration rate

clado_rate_max

maximum cladogenesis rate

Value

the rates, as can be verified by are_rates

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
testit::assert(
  DAISIE:::are_rates(
    create_rates(
      immig_rate = 0.1,
    ext_rate = 0.2,
    ana_rate = 0.3,
    clado_rate = 0.4,
    ext_rate_max = 0.75,
    immig_rate_max = 0.6,
    clado_rate_max = 0.7
  )
)
)

joshwlambert/DAISIEsim documentation built on June 5, 2019, 7:58 a.m.