Learn R Programming

RADami (version 1.1-2)

rtreePhylo: Generate random trees using an input tree to get taxon names and tips

Description

A wrapper around rtree

Usage

rtreePhylo(x, N = 1, ...)

Arguments

x
an object of class phylo
N
number of trees to return
extra arguments to pass along to rtree

Value

an object of class multiPhylo

See Also

genTrees

Examples

Run this code
	data(oak.tree)
	a <- rtreePhylo(oak.tree, 4)
	layout(matrix(1:4,2,2))
	lapply(a, plot)
	

Run the code above in your browser using DataLab