Learn R Programming

phytools (version 0.2-40)

ave.rates: Average the posterior rates

Description

Primarily 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
rate 1.
sig2
rate 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.

See Also

evol.rate.mcmc, minSplit, posterior.evolrate