Learn R Programming

TreeSearch (version 1.1.2)

Suboptimality: Tree suboptimality

Description

How suboptimal is a tree?

Usage

Suboptimality(trees, proportional = FALSE)

Value

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

Arguments

trees

list of trees, to include an optimal tree

proprtional

logical stating whether to normalise results to lowest score