di2multi.simmap {phytools} | R Documentation |
This function collapses branches of zero length (or, more specifically, branches with length shorter than tol
) to create a polytomy in a stochastic-map style tree.
di2multi.simmap(tree, tol=1e-08)
tree |
modified object of class |
tol |
length below which edges should be treated as having zero length. |
This function should theoretically perform similarly to di2multi
in ape.
A tree with a stochastically mapped discrete character
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.
di2multi
, make.simmap
, read.simmap