minusLikelihoodRandomRoot: Minus Likelihood function for a Cauchy model

View source: R/optimization.R

minusLikelihoodRandomRootR Documentation

Minus Likelihood function for a Cauchy model

Description

Gives the minus likelihood function, with random root.

Usage

minusLikelihoodRandomRoot(
  param,
  param_names,
  tree,
  trait,
  Xdesign,
  model,
  rootTip
)

Arguments

param

the parameters where to evaluate the function

param_names

the parameter names

Xdesign

the design matrix

model

a model for the trait evolution. One of "cauchy" or "lambda" (see Details).

Value

The value of minus the log-likelihood.


cauphy documentation built on Oct. 1, 2024, 5:08 p.m.