Description Usage Arguments Value Author(s) References Examples
This function calculates the marginal distribution of the number of endemics and non-endemics and their sum for a given set of parameter values, a given mainland species pool size and a given set of times
1 2 | DAISIE_margprobdist(pars1, pars2, tvec, initEI = c(0, 0),
initprobs = NULL, pb = NULL)
|
pars1 |
Vector of model parameters: |
pars2 |
Vector of settings: |
tvec |
The times at which the probabilities need to be computed. |
initEI |
The initial values for the number of endemics and non-endemics; either this or initprobs must be NULL |
initprobs |
The initial probability distribution for the number of endemics and non-endemics; either this or initEI must be NULL |
pb |
Rather than computing the joint distribution from given parameter values, one can also specify a precomputed probability distribution in the matrix format of DAISIE_probdist. |
out |
A list of three vectors: |
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.
1 2 3 4 5 6 7 8 9 10 11 12 | ### Compute the marginal probability distributions at t = 4 and t = 8, for a mainland
# pool size of 250 potential colonists and a vector of 5 parameters (cladogenesis,
# extinction, clade-level carrying capacity, immigration, anagenesis) starting from
# an empty island
marg_prob_dists <- DAISIE_margprobdist(
pars1 = c(0.3,0.35,Inf,0.75,0.012),
pars2 = c(100,250),
tvec = c(4,8),
initEI = c(5,1),
initprobs = NULL
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.