Learn R Programming

TreeSearch (version 0.3.2)

SplitsRepeated: Are Splits Repeated?

Description

Determines whether any of the splits described in original are present in matches.

Usage

SplitsRepeated(original, matches)

Arguments

original, matches

Logical matrix describing the bipartition splits defined by a tree (see Tree2Splits for format). The first row of original must be FALSE for all splits.

Value

SplitsRepeated returns a logical vector of length ncol(original), specifying whether each split listed in original also appears in matches.