TreeTools (version 0.1.3)

TipsInSplits: Tips contained within splits

Description

TipsInSplits specifies the number of tips that occur within each bipartition split in a Splits object.

Usage

TipsInSplits(splits, nTip = attr(splits, "nTip"))

Arguments

splits

Object of class Splits.

nTip

Number of tips in Splits object (inferred if not specified).

Value

A named vector of integers, specifying the number of tips contained within each split in splits.

See Also

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

Examples

Run this code
# NOT RUN {
splits <- as.Splits(PectinateTree(8))
TipsInSplits(splits)

# }

Run the code above in your browser using DataCamp Workspace