get_immig_rate: Calculate immigration rate

Description Usage Arguments Author(s) References See Also

View source: R/DAISIE_rates.R

Description

Internal function. Calculates the immigration rate given the current number of species in the system, the carrying capacity

Usage

1
2
get_immig_rate(timeval, totaltime, gam, Apars, Tpars = NULL,
  island_ontogeny, island_spec, K, mainland_n)

Arguments

timeval

current time of simulation

totaltime

total time of simulation

gam

per capita immigration rate

Apars

a named list containing area parameters as created by create_area_params:

  • [1]: maximum area

  • [2]: value from 0 to 1 indicating where in the island's history the peak area is achieved

  • [3]: sharpness of peak

  • [4]: total island age

Tpars

A named list containing diversification rates considering two trait states:

  • [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

island_ontogeny

a string describing the type of island ontogeny. Can be NULL, "beta" for a beta function describing area through time, or "linear" for a linear function

island_spec

matrix with current state of system

K

carrying capacity

mainland_n

total number of species present in the mainland

Author(s)

Pedro Neves

References

Valente, Luis M., Rampal S. Etienne, and Albert B. Phillimore. "The effects of island ontogeny on species diversity and phylogeny." Proceedings of the Royal Society of London B: Biological Sciences 281.1784 (2014): 20133227.

See Also

Does the same as DAISIE_calc_clade_imm_rate

Other rates calculation: DAISIE_plot_area, get_ana_rate, get_ext_rate, get_t_hor, get_trans_rate, island_area_vector, island_area, update_rates


xieshu95/Test-Trasie documentation built on Dec. 18, 2019, 7:34 a.m.