Clade sizes
CladeSizes(tree, nodes)
A tree of class phylo.
phylo
whose descendants should be returned
CladeSizes returns the number of nodes (including tips) that are descended from each node.
CladeSizes
# NOT RUN { tree <- BalancedTree(6) plot(tree) ape::nodelabels() CladeSizes(tree, c(8, 9)) # }
Run the code above in your browser using DataLab