Suboptimality: Tree suboptimality

SuboptimalityR Documentation

Tree suboptimality

Description

How suboptimal is a tree?

Usage

Suboptimality(trees, proportional = FALSE)

Arguments

trees

list of trees, to include an optimal tree

proportional

logical stating whether to normalise results to lowest score

Value

Suboptimality() returns a vector listing, for each tree, how much its score differs from the optimal (lowest) score.


ms609/TreeSearch documentation built on Sept. 8, 2024, 3:26 a.m.