get_child_ids: Generic for Getting Child Node Ids

Description Usage Arguments Value Methods (by class) See Also

Description

The generic method definition for getting child node ids.

Usage

1
2
3
4
5
6
7
get_child_ids(x, node_num)

## S4 method for signature 'TreeHarp'
get_child_ids(x, node_num)

## S4 method for signature 'list'
get_child_ids(x, node_num)

Arguments

x

An object of class TreeHarp.

node_num

An integer, length 1. This the node whose children we are after. If the specified node is a leaf, the NULL is returned.

Value

An integer vector, indicating the children node ids.

Methods (by class)

See Also

get_parent_id


autoharp documentation built on Nov. 13, 2021, 1:06 a.m.