TreeTools (version 0.1.3)

TreeIsRooted: Is tree rooted?

Description

Faster alternative to of ape::is.rooted.

Usage

TreeIsRooted(tree)

Arguments

tree

A phylogenetic tree of class phylo.

Value

Logical specifying whether a root node is resolved.

Examples

Run this code
# NOT RUN {
TreeIsRooted(BalancedTree(6))

# }

Run the code above in your browser using DataLab