TreeSearch (version 0.4.0)

Suboptimality: Tree suboptimality

Description

How suboptimal is a tree?

Usage

Suboptimality(trees, proportional = FALSE)

Arguments

trees

list of trees, to include an optimal tree

proprtional

logical stating whether to normalise results to lowest score

Value

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