This function rounds the branch lengths of a tree or trees and reconciles any mappings for objects of class "simmap"
or "multiSimmap"
.
roundBranches(tree, digits)
An object of class "phylo"
, "multiPhylo"
, "simmap"
, or "multiSimmap"
, with rounded edge lengths.
an object of class "phylo"
, "multiPhylo"
, "simmap"
, or "multiSimmap"
.
number of digits for rounding. Passed to round
.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.