50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

phytools (version 2.4-4)

ave.rates: Average the posterior rates

Description

Internal function for posterior.evolrate.

Usage

ave.rates(tree, shift, tips, sig1, sig2, ave.shift, showTree=TRUE)

Value

A list of the rates.

Arguments

tree

a tree.

shift

the shift point for this sample.

tips

tip names tipward of shift.

sig1

σ12.

sig2

σ22.

ave.shift

average shift from all samples.

showTree

logical value indicating whether to plot the rate-stretched tree.

Author

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.

See Also

evol.rate.mcmc, minSplit, posterior.evolrate