describe.simmap | R Documentation |
Summarizes the result of one or more stochastic maps.
describe.simmap(tree, ...)
## S3 method for class 'simmap'
summary(object, ...)
## S3 method for class 'multiSimmap'
summary(object, ...)
## S3 method for class 'describe.simmap'
plot(x, ...)
tree |
a single tree or a set of trees as an object of class |
object |
object of class |
x |
for S3 |
... |
optional arguments which include: |
An object of class "describe.simmap"
with the following elements:
count |
a matrix containing the number and types of transitions for each tree, if |
times |
a matrix containing 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)="simmap"
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. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.