Learn R Programming

phytools (version 2.3-0)

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

\(\sigma_1^2\).

sig2

\(\sigma_2^2\).

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