TreeSearch (version 1.5.0)

Suboptimality: Tree suboptimality

Description

How suboptimal is a tree?

Usage

Suboptimality(trees, proportional = FALSE)

Value

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

Arguments

trees

list of trees, to include an optimal tree

proportional

logical stating whether to normalise results to lowest score