likMlambda: Likelihood for joint lambda

View source: R/utilities.R

likMlambdaR Documentation

Likelihood for joint \lambda

Description

Likelihood function for joint estimation of Pagel's \lambda parameter.

Usage

likMlambda(lambda, X, C)

Arguments

lambda

scalar, usually on the interval 0,1 (although not required to be).

X

data for various continuous character, in the form of a matrix.

C

n x n matrix (for n taxa) containing the height above the root for each pair of taxa in the tree (e.g., vcv.phylo).

Details

Generally intended to be used internally by other methods that do joint optimization of \lambda (e.g., phyl.pca).

Value

The log-likelihood.

Author(s)

Liam Revell liam.revell@umb.edu

References

Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.


phytools documentation built on June 22, 2024, 10:39 a.m.