describe.simmap(tree, ...)
make.simmap
or read.simmap
.plot
, a logical value indicating whether or not to plot the posterior probabilities at nodes (default is plot=FALSE
); check.equal
, a logical value indicating whether or not to check message=TRUE
):class(tree)="multiPhylo"
.class(tree)="multiPhylo"
.plot=TRUE
.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.