TreeTools (version 0.1.3)

NTip: Number of tips in a phylogenetic tree

Description

Extends ape's function Ntip to handle objects of class Splits and list.

Usage

NTip(phy)

# S3 method for Splits NTip(phy)

# S3 method for list NTip(phy)

# S3 method for phylo NTip(phy)

# S3 method for multiPhylo NTip(phy)

Arguments

phy

Object to count.

Value

NTip returns an integer specifying the number of tips in each object in phy.

See Also

Other Splits operations: NSplits, TipLabels, TipsInSplits, as.Splits, in.Splits, match.Splits