View source: R/DAISIE_ExpEIN.R
| DAISIE_ExpEIN2 | 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, where there can be diversity-dependence
DAISIE_ExpEIN2(
  tvec,
  pars,
  M,
  initEI = NULL,
  res = 1000,
  ddmodel = 11,
  methode = "ode45",
  reltolint = 1e-16,
  abstolint = 1e-16
)
tvec | 
 The times at which the probabilities 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   | 
res | 
 Sets the maximum number of species for which a probability must be computed, must be larger than the size of the largest clade.  | 
ddmodel | 
 Sets the model of diversity-dependence:  
  | 
methode | 
 Method of the ODE-solver. Supported Boost   | 
reltolint | 
 Numeric relative tolerance of the integration  | 
abstolint | 
 Numeric absolute tolerance of the integration  | 
tot_expEIN | 
 The output is a list with three elements:   | 
Rampal S. Etienne
DAISIE_ExpEIN2(tvec = c(0.000001,0.5,0.75,1),
                         pars = c(0.3,0.1,10,1,0.1),
                         M = 1000,
                         initEI = rbind(c(1,0),c(2,0),c(0,1)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.