powered by
rep method for object of class "phylo" or "multiPhylo".
rep
"phylo"
"multiPhylo"
# S3 method for phylo rep(x, ...) # S3 method for multiPhylo rep(x, ...) repPhylo(tree, times)
An object of class "multiPhylo".
object of class "phylo".
number of times to replicate tree.
for S3 method an object of class "phylo" or "multiPhylo".
other arguments for rep (specifically, times).
times
Liam Revell liam.revell@umb.edu
repPhylo is just an alias for rep.phylo and rep.multiPhylo.
repPhylo
rep.phylo
rep.multiPhylo
Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.
c.phylo, rep
c.phylo
tree<-pbtree(n=100) trees<-rep(tree,100)
Run the code above in your browser using DataLab