nTips, nNodes, nEdges
Number of tips, nodes and edges found in a tree.
nTips(x) ## S4 method for signature 'phylo4' nTips(x) ## S4 method for signature 'phylo' nTips(x) nNodes(x) ## S4 method for signature 'phylo4' nNodes(x) nEdges(x) ## S4 method for signature 'phylo4' nEdges(x)
x |
a |
Function to return the number of tips, nodes and edges found in a
tree in the phylo4
or phylo4d
format.
a numeric vector indicating the number of tips, nodes or edge respectively.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.