get_t_hor: Function to calculate and update horizon for maximum...

Description Usage Arguments Author(s) See Also

View source: R/DAISIE_rates.R

Description

Internal function. Calculates when the next horizon for maximum extinction will be in the simulation

Usage

1
2
get_t_hor(timeval, totaltime, Tpars, Apars, ext, ext_multiplier,
  island_ontogeny, t_hor)

Arguments

timeval

current time of simulation

totaltime

total time of simulation

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 carrying capacity with trait state 2 on mainland

  • [8]:A numeric with the number of species with trait state 2 on mainland

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

ext

effective extinction rate at timeval

ext_multiplier

reduces or increases distance of horizon to current simulation time

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

t_hor

time of horizon for max extinction

Author(s)

Pedro Neves

See Also

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


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