| rep.phylo | R Documentation |
rep method for object of class "phylo" or "multiPhylo".
## S3 method for class 'phylo'
rep(x, ...)
## S3 method for class 'multiPhylo'
rep(x, ...)
repPhylo(tree, times)
tree |
object of class |
times |
number of times to replicate tree. |
x |
for S3 method an object of class |
... |
other arguments for |
repPhylo is just an alias for rep.phylo and rep.multiPhylo.
An object of class "multiPhylo".
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.
c.phylo, rep
## create a random tree
tree<-pbtree(n=100)
## create a "multiPhylo" object with 100 copies
trees<-rep(tree,100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.