View source: R/dd_loglik_func.R
dd_loglik_func | R Documentation |
Compute the log-likelihood of athe diversity-dependent model specified by
speciation_func
, extinction_func
, and params
given a set of waiting
times to next events and associated diversity.
Meant to be called internally by fit_dd_model_with_fossil()
.
dd_loglik_func(params, waiting_times_tbl, speciation_func, extinction_func)
params |
a named vector containing the values of the parameters of
|
waiting_times_tbl |
the output of |
speciation_func |
a function describing how the rate of speciation varies
with the number of species |
extinction_func |
a function describing how the rate of extinction varies
with the number of species |
a unique log-likelihood value
Theo Pannetier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.