Learn R Programming

ggphylo (version 0.1)

is.leaf.phylo: Determine if the given node is a leaf or an internal node. Alias of tree.is.leaf.

Description

Determine if the given node is a leaf or an internal node. Alias of tree.is.leaf.

Usage

"is.leaf" (phylo, node)

Arguments

phylo,
input phylo object
node,
integer index of the desired node to test

Value

boolean, TRUE if the given node is a leaf, FALSE if it is an internal node