R: Tips contained within splits

TipsInSplits {TreeTools} | R Documentation

## Tips contained within splits

### Description

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

### Usage

    TipsInSplits(splits)

### Arguments

`splits` | Object of class `Splits`.

### Value

`TipsInSplits()` returns a named vector of integers, specifying the number of tips contained within each split in `splits`.

### See Also

Other Splits operations: `NSplits()`, `NTip()`, `SplitsInBinaryTree()`, `TipLabels()`, `as.Splits()`, `match()`

### Examples

    tree <- PectinateTree(8)#'
    splits <- as.Splits(tree)
    TipsInSplits(splits)

    plot(tree)
    LabelSplits(tree, as.character(splits), frame = 'none', pos = 3L, cex = 0.7)
    LabelSplits(tree, TipsInSplits(splits), unit = ' tips', frame = 'none',
                pos = 1L)

[Package TreeTools version 1.2.0 Index]