ave.rates {phytools}R Documentation

Average the posterior rates

Description

Internal function for posterior.evolrate.

Usage

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

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.

Value

A list of the rates.

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.

See Also

evol.rate.mcmc, minSplit, posterior.evolrate


[Package phytools version 2.1-1 Index]