get_descendant_nodes: Get ”ids” of Descendant Nodes

Description Usage Arguments Value

Description

`get_descendant_nodes` gets all nodes that have for direct or indirect parent `id.par`, including `id.par`, whereas `get_child_nodes` only returns the direct children (and also the parent).

Usage

1

Arguments

x

a `treeprof` object

id.par

the id of the node to get the children of

Value

one column data.table containing requested ids (for joining with) 'x' if desired, note this will also include the parent node


brodieG/treeprof documentation built on May 13, 2019, 7:47 a.m.