Learn R Programming

ape (version 5.6-2)

is.compatible: Check Compatibility of Splits

Description

is.compatible is a generic function with a method for the class "bitsplits". It checks whether a set of splits is compatible using the arecompatible function.

Usage

is.compatible(obj)
# S3 method for bitsplits
is.compatible(obj)
arecompatible(x, y, n)

Value

TRUE if the splits are compatible, FALSE otherwise.

Arguments

obj

an object of class "bitsplits".

x, y

a vector of mode raw.

n

the number of taxa in the splits.

Author

Andrei Popescu

See Also

as.bitsplits