pagelLogLik: Computes log-likelihood for data and a given value of Pagel's Lambda
Description
Computes log-likelihood for data and a given value of Pagel's Lambda
Usage
pagelLogLik(lambda, xr, vcvr)
Arguments
- lambda
the value of Pagel's Lambda
- xr
a vector of data
- vcvr
phylogenetic variance-covariance matrix
Author
Adapted from Liam Revell's R function 'phylosig' in phytools.