powered by
NSplits() counts the unique bipartition splits in a tree or object.
NSplits()
NSplits(x)NPartitions(x)# S3 method for phylo NSplits(x)# S3 method for multiPhylo NSplits(x)# S3 method for list NSplits(x)# S3 method for Splits NSplits(x)# S3 method for numeric NSplits(x)
NPartitions(x)
# S3 method for phylo NSplits(x)
# S3 method for multiPhylo NSplits(x)
# S3 method for list NSplits(x)
# S3 method for Splits NSplits(x)
# S3 method for numeric NSplits(x)
A phylogenetic tree of class phylo, or a list of such trees (of class list or multiPhylo), or a Splits object, or a vector of integers.
phylo
list
multiPhylo
Splits
NSplits() returns an integer specifying the number of bipartitions in the specified objects, or in a binary tree with x tips.
x
Other tree properties: ConsensusWithout(), NTip(), TipLabels(), TreeIsRooted()
ConsensusWithout()
NTip()
TipLabels()
TreeIsRooted()
Other Splits operations: NTip(), TipLabels(), TipsInSplits(), as.Splits(), match()
TipsInSplits()
as.Splits()
match()
# NOT RUN { NSplits(8L) NSplits(PectinateTree(8)) NSplits(as.Splits(BalancedTree(8))) # }
Run the code above in your browser using DataLab