Internally used function to compute the likelihood under a \(\Gamma\) model.
gamma_pruning(par, nrates=4, tree, x, model=NULL, median=TRUE, ...)
A value of the log-likelihood.
function parameters.
number of discrete rate categories.
object of class "phylo"
.
data in the form of a binary matrix.
design matrix of fitted model.
use the median of each rate category.
optional arguments.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.