File: is.compatible.Rd

package info (click to toggle)
r-cran-ape 5.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,932 kB
  • sloc: ansic: 7,626; cpp: 116; sh: 17; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 740 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
\name{is.compatible}
\alias{is.compatible}
\alias{is.compatible.bitsplits}
\alias{arecompatible}
\title{Check Compatibility of Splits}
\description{
  \code{is.compatible} is a generic function with a method for the class
  \code{"bitsplits"}. It checks whether a set of splits is compatible
  using the \code{arecompatible} function.
}
\usage{
is.compatible(obj)
\method{is.compatible}{bitsplits}(obj)
arecompatible(x, y, n)
}
\arguments{
  \item{obj}{an object of class \code{"bitsplits"}.}
  \item{x, y}{a vector of mode raw\code{}.}
  \item{n}{the number of taxa in the splits.}
}
\value{
  \code{TRUE} if the splits are compatible, \code{FALSE} otherwise.
}
\author{Andrei Popescu}
\seealso{\code{\link{as.bitsplits}}}
\keyword{manip}