View source: R/DAISIE_ExpEIN.R
DAISIE_ExpEIN | R Documentation |
This function calculates the expected number of endemics, non-endemics and the sum of these for a given set of parameter values, a given mainland species pool size and a given time
DAISIE_ExpEIN(t, pars, M, initEI = c(0, 0))
t |
The time at which the expectations need to be computed. |
pars |
A numeric vector containing the model parameters:
Elements 6:10 are required only when type 2 species are included
or in the rate shift model. For |
M |
Numeric defining the size of mainland pool, i.e. the number of species that can potentially colonize the island. |
initEI |
The initial values for the number of endemics and
non-endemics. In |
out |
The output is a list with three elements: |
Rampal S. Etienne
Valente, L.M., A.B. Phillimore and R.S. Etienne (2015). Equilibrium and non-equilibrium dynamics simultaneously operate in the Galapagos islands. Ecology Letters 18: 844-852.
### Compute the expected values at t = 4, for a mainland pool size of 1000 potential
# colonists and a vector of 5 parameters (cladogenesis, extinction, clade-level carrying
# capacity, immigration, anagenesis)
DAISIE_ExpEIN(
t = 4,
pars = c(0.5,0.1,Inf,0.01,0.4),
M = 1000
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.