Description Usage Arguments Details
View source: R/sls_dummy_functions.R
Simulate an sls process and infer parameters maximizing the likelihood(s) for given function(s) with dummy shift
1 2 3 4 5 6 7 8 9 10 11 | sls_main_dummy(
sim_pars,
cond = 3,
l_2 = sim_get_standard_l_2(crown_age = 5, shift_time = 2),
seed,
start_pars = c(0.2, 0.1),
optim_ids = rep(TRUE, length(start_pars)),
loglik_functions = sls_logliks_dummy(),
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 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. |
loglik_functions |
the loglik_functions you want to use |
project_folder |
the folder where you want to save data and results |
verbose |
set it to TRUE if you want to see the outputs on screen |
mle inference with dummy shift
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.