get_descendant_nodes: Get ”ids” of Descendant Nodes

Description Usage Arguments Value

View source: R/treemanip.R

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 Nov. 11, 2021, 1:36 a.m.