gamma_pruning {phytools} | R Documentation |
Internally used function
Description
Internally used function to compute the likelihood under a \Gamma
model.
Usage
gamma_pruning(par, nrates=4, tree, x, model=NULL, median=TRUE, ...)
Arguments
par |
function parameters. |
nrates |
number of discrete rate categories. |
tree |
object of class |
x |
data in the form of a binary matrix. |
model |
design matrix of fitted model. |
median |
use the median of each rate category. |
... |
optional arguments. |
Value
A value of 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.
[Package phytools version 2.3-0 Index]