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

View source: R/iaitrees.R

get_parentR Documentation

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

Description

Julia Equivalent: IAI.get_parent

Usage

get_parent(lnr, node_index)

Arguments

lnr

The learner to query.

node_index

The node in the tree to query.

Examples

## Not run: iai::get_parent(lnr, 2)


iai documentation built on June 22, 2024, 10:56 a.m.