Description Usage Arguments Value
View source: R/sls_dummy_functions.R
Calculates ML.
1 2 3 4 5 6 7 8 9 10 | sls_ml_dummy(
loglik_function = sls::loglik_sls_p_dummy,
brts,
start_pars = c(0.5, 0.3),
n_0 = 2,
cond = 3,
optim_ids = rep(TRUE, length(start_pars)),
true_pars = start_pars,
verbose = TRUE
)
|
loglik_function |
the loglik function you want to use |
brts |
branching times provided as a list of vectors, one for the main clade, one for the subclade |
start_pars |
parameters to start from for the search of the likelihood maximum |
n_0 |
starting number of lineages |
cond |
type of conditioning:
|
optim_ids |
ids of the parameters you want to optimize. |
true_pars |
true parameter values when running the ml process. |
verbose |
set it to TRUE if you want to see the outputs on screen |
best parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.