Description Usage Arguments Value Author(s)
View source: R/sls_likelihoods_nodiv.R
Provides BISSE loglik shift function (alternative version). Yields the old (wrong) BISSE result for the Main Clade only.
1 2 3 4 5 6 7 8 9 | loglik_bisse_shift2(
pars,
brts,
n_0 = 2,
t_0 = 0,
t_d,
log_scale = TRUE,
lambdaterms = TRUE
)
|
pars |
parameters of the likelihood functions:
|
brts |
branching times provided as a list of vectors, one for the main clade, one for the subclade |
n_0 |
starting number of lineages |
t_0 |
starting time |
t_d |
decoupling time |
log_scale |
set it to TRUE if you desire the output in log form |
lambdaterms |
set it to TRUE if you desire the powers of lambda in the likelihood |
loglik
Giovanni Laudanno
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.