Description Usage Arguments Details Value Author(s)
View source: R/diff_dd_loglik_version.R
The function calls dd_loglik()
from DDD_3.2 and from the current version and computes their difference.
1 2 | diff_dd_loglik_version(brts, pars1, pars2, missnumspec = 0,
methode = "analytical")
|
brts |
a set of branching times, all positive. |
pars1 |
numerical parameters to be passed to |
pars2 |
numerical parameters to be passed to |
missnumspec |
parameter passed to |
dd_loglik()
parameters pars2
are set to c(4,1,1,0,2,1000)
here. methode
is set to 'analytical' as I don't know whetehr other inputs work.
a numeric vector of length 6 containing the input parameter values, the loglikelihood returned by dd_loglik_3.2()
and dd_loglik()
and their difference.
Théo Pannetier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.