rtree4 {phyloTop} | R Documentation |
Random phylo4 tree
Description
Creates a random phylo4 tree, in parallel to ape
's rtree
function.
Usage
rtree4(n, ...)
Arguments
n |
an integer giving the number of tips in the tree |
... |
further arguments to be passed to rtree |
Value
An object of class "phylo4"
.
Author(s)
Michael Boyd mboyd855@gmail.com
Michelle Kendall michelle.louise.kendall@gmail.com
Examples
## Create a random phylo4 tree with 10 tips:
tree4 <- rtree4(10)
[Package phyloTop version 2.1.2 Index]