prune: Prune a contrast tree

View source: R/contrast.R

pruneR Documentation

Prune a contrast tree

Description

Prune a contrast tree

Usage

prune(tree, thr = 0.1)

Arguments

tree

a tree model object output from contrast

thr

a split improvement threshold, default is 0.1

Value

a bottom-up pruned tree with splits corresponding to improvement less than threshold thr removed


conTree documentation built on Nov. 22, 2023, 5:08 p.m.