DAISIE_sim_with_ontogeny: Internal function of the DAISIE simulation

Description Usage Arguments

View source: R/DAISIE_sim_with_ontogeny.R

Description

Internal function of the DAISIE simulation

Usage

1
2
DAISIE_sim_with_ontogeny(time, mainland_n, pars, Apars = NULL,
  Epars = NULL, Tpars = NULL, island_ontogeny = "const")

Arguments

time

Simulated amount of time

mainland_n

A numeric stating the number of mainland species, that is, the number of species that can potentially colonize the island. If DAISIE_sim uses a clade-specific diversity dependence, this value is set to 1. If DAISIE_sim uses an island-specific diversity dependence, this value is set to the number of mainland species.

pars

A numeric vector:

  • [1]: cladogenesis rate

  • [2]: extinction rate

  • [3]: carrying capacity

  • [4]: immigration rate

  • [5]: anagenesis 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

Epars

A numeric vector:

  • [1]: minimum extinction when area is at peak

  • [2]: extinction rate when current area is 0.10 of maximum area

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 "const", "beta" for a beta function describing area through time, or "linear" for a linear function


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