gamma_pruning: Internally used function

View source: R/fitgammaMk.R

gamma_pruningR 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 "phylo".

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.


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