Learn R Programming

jrich (version 0.60-35)

Children: Children of a node.

Description

Get the children of a node in a tree.

Usage

Children(tree = tree, node = node)

Arguments

tree
is a single tree with n terminals, an ape phylo object.
node
representing the node in APE notation,is an integer.

Value

The children nodes of the internal node; in most cases, two integers.

Examples

Run this code
 library(jrich)
 data(tree)

Children(tree,7)

Run the code above in your browser using DataLab