Learn R Programming

phytools (version 2.3-0)

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, ...)

Value

Plots a tree with error bars around internal nodes..

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.

Author

Liam Revell liam.revell@umb.edu

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. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.

See Also

ltt, plotTree