Learn R Programming

autoharp (version 0.2.0)

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

Description

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

Usage

get_next_depth_id(parent_node_id, env_ni)

Value

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

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!