prune_tree: Prunes the current tree

View source: R/prune_ratio.R

prune_treeR Documentation

Prunes the current tree

Description

Prunes the current tree

Usage

prune_tree(current_tree, drawn_node, variable_in_question)

Arguments

current_tree

The current tree

drawn_node

The node to prune

variable_in_question

Variable that was split in the node that will

Value

The new tree

Author(s)

Bruna Wundervald, brunadaviesw@gmail.com.


brunaw/hebart documentation built on June 1, 2022, 8:35 p.m.