View source: R/fit_dd_model_with_fossil.R
fit_dd_model_with_fossil | R Documentation |
Fits the parameters of a specified diversity-dependent model to a set of
full phylogenies (with fossil lineages) produced by comrad
simulations
fit_dd_model_with_fossil(
waiting_times_tbl,
init_params,
dd_model = dd_model_lc(),
num_cycles = Inf
)
waiting_times_tbl |
a table with waiting times, the output of
|
init_params |
named vector, initial values of the parameters to optimise.
The names and number of parameters must match those specified in
|
dd_model |
a list with five named elements that together specify the diversity-dependent model:
|
num_cycles |
passed to |
a one-row table with initial values of the parameters,
maximum likelihood estimates, the maximum likelihood and a convergence code
(see subplex::subplex()
for the meaning of this code)
Theo Pannetier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.