powered by
Counts the number of tips of a given clade of a phylogenetic tree.
ntip(phy, node)
An object of class phylo.
phylo
An integer given the number of an internal node.
An integer giving the number of tips.
# NOT RUN { set.seed(1234) tr <- rtree(12) plot(tr); nodelabels() ntip(tr, 16) # }
Run the code above in your browser using DataLab