View source: R/DAISIE_loglik_integrate.R
DAISIE_loglik_integrate | R Documentation |
Integrates the loglikelihood of a single clade across a parameter weighted by a given distribution
DAISIE_loglik_integrate(
pars1,
pars2,
brts,
stac,
missnumspec,
CS_version,
methode,
abstolint,
reltolint,
verbose
)
pars1 |
Vector of model parameters: |
pars2 |
Vector of settings: |
brts |
Numeric vector of branching times |
stac |
Numeric of Endemicity status |
missnumspec |
Numeric of missing species |
CS_version |
a numeric or list. Default is 1 for the standard DAISIE model, for a relaxed-rate model a list with the following elements:
|
methode |
Method of the ODE-solver. Supported Boost |
abstolint |
Numeric absolute tolerance of the integration |
reltolint |
Numeric relative tolerance of the integration |
verbose |
A numeric vector of length 1, which in simulations and 'DAISIEdataprep()' can be '1' or '0', where '1' gives intermediate output should be printed. For ML functions a numeric determining if intermediate output should be printed. The default: '0' does not print, '1' prints the initial likelihood and the settings that were selected (which parameters are to be optimised, fixed or shifted), '2' prints the same as '1 and also the intermediate output of the parameters and loglikelihood, while '3' the same as '2' and prints intermediate progress during likelihood computation. |
A loglikelihood value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.