Faster alternative to of ape::is.rooted.
ape::is.rooted
TreeIsRooted(tree)
A phylogenetic tree of class phylo.
Logical specifying whether a root node is resolved.
# NOT RUN { TreeIsRooted(BalancedTree(6)) # }
Run the code above in your browser using DataLab