Replicate a tree or set of trees
S3 method rep
for object of class "phylo"
or "multiPhylo"
. repPhylo
is just an alias for rep.phylo
and rep.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 |
An object of class "multiPhylo"
.
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.
tree<-pbtree(n=100) trees<-rep(tree,100)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.