Learn R Programming

rphast (version 1.6.9)

numleaf.tree: Number of leaves in a Tree

Description

Get the number of leaves in a tree

Usage

numleaf.tree(tree)

Arguments

tree

A vector of character strings, each containing a newick tree

Value

A numeric vector containing the number of leaves (species) in each tree