Learn R Programming

cauphy (version 1.0.3)

minusLikelihoodRandomRoot: 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
)

Value

The value of minus the log-likelihood.

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).