Learn R Programming

TreeSearch (version 0.3.2)

SplitsCompatible: Are splits compatible?

Description

Splits are compatible if they are concave; i.e. they can both be true simultaneously.

Usage

SplitsCompatible(split1, split2)

Arguments

split1, split2

Logical vectors listing terminals in same order, such that each terminal is identified as a member of the ingroup (TRUE) or outgroup (FALSE) of the respective bipartition split.

Value

SplitsCompatible returns a logical specifying whether the splits provided are compatible with one another.