Learn R Programming

iai (version 1.0.0)

get_parent: get_parent

Description

Get the index of the parent node at a node of a tree

Usage

get_parent(lnr, node_index)

Arguments

lnr

The learner or grid to query.

node_index

The node in the tree to query.

Details

Julia Equivalent: IAI.get_parent

Examples

Run this code
# NOT RUN {
iai::get_parent(lnr, 2)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab