describe.simmap {phytools} | R Documentation |
This function summarizes the result of one or more stochastic maps.
describe.simmap(tree, ...)
tree |
a single tree or a set of trees with a mapped discrete character (e.g, see |
... |
optional arguments which include: |
A list with the following elements is returned (invisibly if message=TRUE
):
count |
a matrix containing the number and types of transitions for each tree, if |
times |
a matrix containg the times spend in each state on each tree. |
ace |
the posterior probabilities of each node being in each state, if |
legend |
a vector containing the plot legend, if |
if class(tree)="phylo"
then the function simply returns the results of countSimmap
combined with the states at each node of the tree and a matrix containing the total and relative times spent in each state on the tree.
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.