Learn R Programming

iai (version 1.10.2)

get_depth: 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

Run this code
if (FALSE) iai::get_depth(lnr, 1)

Run the code above in your browser using DataLab