get_splitted_data: Get for each node which observations of the inbag data reach...

View source: R/get_splitted_data.R

get_splitted_dataR Documentation

Get for each node which observations of the inbag data reach it

Description

Get for each node which observations of the inbag data reach it

Usage

get_splitted_data(tree_info_df, inbag_data_df, rf_list, tree_number)

Arguments

tree_info_df

Data frame containing information about the structure of the decision tree, which is built like a "treeInfo()" data frame from the package "ranger"

inbag_data_df

Data frame of the inbag data with which the random forest was trained

rf_list

Random forest, which is built like the one you get from ranger()

tree_number

Number of the decision tree of the rf_list to be displayed

Value

List containing for each node the inbag data reaching this node

Author(s)

Laabs, Lea Louisa Kronziel, M.Sc.


imbs-hl/timbR documentation built on April 17, 2025, 2:08 p.m.