ntip | R Documentation |
Counts the number of tips of a given clade of a phylogenetic tree.
ntip(phy, node)
phy |
An object of class |
node |
An integer given the number of an internal node. |
An integer giving the number of tips.
set.seed(1234)
tr <- rtree(12)
plot(tr); nodelabels()
ntip(tr, 16)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.