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

Description Usage Arguments Value

Description

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

Usage

1
2
  ## S3 method for class 'phylo'
 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


gjuggler/ggphylo documentation built on May 17, 2019, 6:05 a.m.