tree.child.nodes: Return a list (not a vector!) of the node indices of the...

Description Usage Arguments Value

Description

Return a list (not a vector!) of the node indices of the given node's direct children. Returns (-1, -1) if the given node is a leaf.

Usage

1
  tree.child.nodes(phylo, node)

Arguments

phylo,

input phylo object

node,

integer index of the node to test

Value

list, a list containing the integer indices of the nodes directly beneath the given node.


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