Learn R Programming

phytools (version 0.7-20)

plotTree.errorbars: Plot a tree with error bars around divergence dates

Description

Plots a tree with error bars around divergence times (nodes).

Usage

plotTree.errorbars(tree, CI, ...)

Arguments

tree

an object of class "phylo".

CI

confidence intervals around internal nodes of the tree, measured in time since the present.

...

optional arguments to be passed to plotTree.

Value

Plots a tree with error bars around internal nodes..

Details

The matrix CI show contain (in rows) the lower & upper confidence bounds in time since the present.

Optional arguments specific to the error bar plot include gridlines, bar.lwd,cex (for the points plotted at nodes), and bar.col.

References

Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.

See Also

ltt, plotTree