get_next_depth_id: Get the id and depth of a child node.

Description Usage Arguments Details Value

View source: R/lang_2_tree_helpers.R

Description

From the parent's depth and the last labelled node, we obtain the node id and depth of a child.

Usage

1
get_next_depth_id(parent_node_id, env_ni)

Arguments

parent_node_id

The id of the parent node we are considering.

env_ni

An environment object, possibly containing a data frame with columns id, name, call_status, arg_type and depth.

Details

This is for internal use. It may be removed from user-view soon!

Value

A list containing the id and depth of the next node.


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