fit_function | R Documentation |
Find the maximum likelihood.
fit_function(
minus_like,
tree,
trait,
X,
model,
start.values,
lower.values,
upper.values,
optim,
rootTip
)
minus_like |
a function giving the minus likelihood of the model. |
trait |
named vector of traits at the tips. |
model |
a model for the trait evolution. One of |
optim |
if "local", only a local optimization around the initial parameter values is performed (the default).
If "global", a global maximization is attempted using the "MLSL" approach (see |
rootTip |
root tip for the reml. |
A list, with the maximum likelihood rate parameter, and the likelihood value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.