Description Usage Arguments Details
Simulate an sls process and infer parameters maximizing the likelihood(s) for given function(s)
1 2 3 4 | sls_main(sim_pars, cond = 1, l_2 = sim_get_standard_l_2(crown_age = 5,
shift_time = 2), seed, start_pars = c(0.2, 0.1, 0.2, 0.1),
optim_ids = rep(TRUE, length(start_pars)), models = get_logliks(),
project_folder = NULL, verbose = FALSE)
|
sim_pars |
parameters of the simulation |
cond |
type of conditioning:
|
l_2 |
the matrix containing the information about how the subclades are nested into the main clade. See sls_sim.get_standard_l_2() for more info. |
seed |
the seed |
start_pars |
parameters to start from for the search of the likelihood maximum |
optim_ids |
ids of the parameters you want to optimize. |
models |
the models you want to use to define the likelihood |
project_folder |
the folder when you want to save data and results |
verbose |
set it to TRUE if you want to see the outputs on screen |
mle inference
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.