TreeIsRooted {TreeTools} | R Documentation |
Is tree rooted?
Description
TreeIsRooted()
is a fast alternative to ape::is.rooted()
.
Usage
TreeIsRooted(tree)
Arguments
tree |
A phylogenetic tree of class |
Value
TreeIsRooted()
returns a logical specifying whether a root node is
resolved.
Author(s)
Martin R. Smith (martin.smith@durham.ac.uk)
See Also
Other tree properties:
ConsensusWithout()
,
MatchEdges()
,
NSplits()
,
NTip()
,
NodeNumbers()
,
PathLengths()
,
SplitsInBinaryTree()
,
TipLabels()
Examples
TreeIsRooted(BalancedTree(6))
TreeIsRooted(UnrootTree(BalancedTree(6)))
[Package TreeTools version 1.12.0 Index]