Description Usage Arguments Value Examples
View source: R/bd.likelihood.R
This function maximises the likelihood of the function bd.probability.extant using optim (Nelder-Mead option)
1 2 | est.bd.extant(b, d, tree, lower.b = 0.001, upper.b = 10, lower.d = 0.001,
upper.d = 10, crown = FALSE, rho = 1)
|
b |
Initial value for birth rate |
d |
Initial value for death rate. Must be < b |
tree |
Phylo object of extant taxa (the function will remove any extinct taxa prior to calculating the likelihood) |
lower.b |
Lower birth rate |
upper.b |
Upper birth rate |
lower.d |
Lower death rate |
upper.d |
Upper death rate |
crown |
If TRUE the process is conditioned on the crown (default = F) |
rho |
Extant species sampling probability (default = 1) |
Named list including maximum likelihood estimates of birth and death rate
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.