Description Usage Arguments Details Value Author(s) See Also Examples
This function generates trees with regular shapes.
1 |
n |
an integer giving the number of tips in the tree. |
type |
a character string specifying the type of tree to
generate; four choices are possible: |
tip.label |
a character vector giving the tip labels; if not specified, the tips "t1", "t2", ..., are given. |
The types of trees generated are:
“star”a star (or comb) tree with a single internal node.
“balanced”a fully balanced dichotmous rooted tree;
n
must be of power of 2 (2, 4, 8, ...).
“left”a fully unbalanced rooted tree where the largest clade is on the left-hand side when the tree is plotted upwards.
“right”same than above but in the other direction.
An object of class "phylo"
.
Emmanuel Paradis
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.