get_depth: Get the depth of a node of a tree

View source: R/iaitrees.R

get_depthR Documentation

Get the depth of a node of a tree

Description

Julia Equivalent: IAI.get_depth

Usage

get_depth(lnr, node_index)

Arguments

lnr

The learner to query.

node_index

The node in the tree to query.

Examples

## Not run: iai::get_depth(lnr, 1)


iai documentation built on July 9, 2023, 5:41 p.m.