sim.tree | R Documentation |
Simulates a random tree.
sim.tree(s, m = 100)
s |
number of species. |
m |
a structural parameter defining the average difference between species. Default is 100. Lower numbers create trees dominated by increasingly similar species, higher numbers by increasingly dissimilar species. |
A very simple tree based on random genes/traits.
An hclust object.
tree <- sim.tree(10)
plot(as.dendrogram(tree))
tree <- sim.tree(100,10)
plot(as.dendrogram(tree))
tree <- sim.tree(100,1000)
plot(as.dendrogram(tree))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.