selectTk: Select Tk

Description Usage Arguments Value

View source: R/selectTk.R

Description

This function tries to find a new pruned tree with a shorter length and a score in the range generated for SE.

Usage

1
selectTk(Tk, tree_alpha_list, SE)

Arguments

Tk

Best pruned tree score.

tree_alpha_list

List with all the possible pruning and its associated alpha and scores.

SE

Value to get a range where new prunings is found.

Value

The same best tree or a new suitable one.


MiriamEsteve/EAT documentation built on Jan. 18, 2022, 6:55 p.m.