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.


liamrevell/phytools documentation built on May 19, 2024, 2:30 p.m.