Description Usage Arguments Value Author(s) See Also Examples
pbd_loglik computes the loglikelihood of the parameters of the protracted speciation model given a set of branching times and number of missing species
1 2 3 4 5 6 7 8 |
pars1 |
Vector of parameters: |
pars1f |
Vector of functions how the rates depend on time, default functions are constant functions of the parameters in pars1: |
pars2 |
Vector of model settings: |
brts |
A set of branching times of a phylogeny, all positive |
missnumspec |
The number of species that are in the clade but missing in the phylogeny |
The loglikelihood
Rampal S. Etienne
1 | pbd_loglik(pars1 = c(0.2,0.1,1,0.1), pars2 = c(1,1,2,0,"lsoda"),brts = 1:10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.