powered by
S3 method rep for object of class "phylo" or "multiPhylo". repPhylo is just an alias for rep.phylo and rep.multiPhylo.
rep
"phylo"
"multiPhylo"
repPhylo
rep.phylo
rep.multiPhylo
# S3 method for phylo rep(x, ...) # S3 method for multiPhylo rep(x, ...) repPhylo(tree, times)
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
An object of class "multiPhylo".
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.
c.phylo, rep
c.phylo
# NOT RUN { tree<-pbtree(n=100) trees<-rep(tree,100) # }
Run the code above in your browser using DataLab