Learn R Programming

phytools (version 0.7-20)

ladderize.simmap: Ladderize a tree with a mapped discrete character

Description

This function 'ladderizes' an object of class "phylo" with a mapped discrete character. For more information see ladderize.

Usage

ladderize.simmap(tree, right=TRUE)

Arguments

tree

an object of class "simmap".

right

a logical specifying how the tree should be ladderized.

Value

A ladderized object of class "simmap".

References

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

See Also

make.simmap, ladderize