NSplits() counts the unique bipartition splits in a tree or object.
NSplits(x) NPartitions(x) # S3 method for phylo NSplits(x) # S3 method for list NSplits(x) # S3 method for multiPhylo NSplits(x) # S3 method for Splits NSplits(x) # S3 method for numeric NSplits(x) # S3 method for character NSplits(x)
| x | A phylogenetic tree of class |
|---|
NSplits() returns an integer specifying the number of bipartitions in
the specified objects, or in a binary tree with x tips.
Other tree properties:
ConsensusWithout(),
NTip(),
SplitsInBinaryTree(),
TipLabels(),
TreeIsRooted()
Other Splits operations:
NTip(),
SplitsInBinaryTree(),
TipLabels(),
TipsInSplits(),
as.Splits(),
match()
Martin R. Smith (martin.smith@durham.ac.uk)
NSplits(8L)#> [1] 5#> [1] 5#> [1] 5