
TreeIsRooted()
is a fast alternative to ape::is.rooted()
.
TreeIsRooted(tree)
A phylogenetic tree of class phylo
.
TreeIsRooted()
returns a logical specifying whether a root node is
resolved.
Other tree properties:
ConsensusWithout()
,
NSplits()
,
NTip()
,
SplitsInBinaryTree()
,
TipLabels()
# NOT RUN {
TreeIsRooted(BalancedTree(6))
TreeIsRooted(UnrootTree(BalancedTree(6)))
# }
Run the code above in your browser using DataLab