Learn R Programming

cauphy (version 1.0.3)

minusLikelihoodFixedRoot_lm: Minus Likelihood function for a Cauchy model

Description

Gives the minus likelihood function, with fixed root, lm model

Usage

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