Creates a random phylo4 tree, in parallel to ape
's rtree
function.
rtree4(n, ...)
an integer giving the number of tips in the tree
further arguments to be passed to rtree
An object of class "phylo4"
.
## Create a random phylo4 tree with 10 tips:
tree4 <- rtree4(10)