Learn R Programming

NADA2 (version 2.0.1)

Maclist: Create maximal antichains from interval data

Description

Create maximal antichains from interval data

Usage

Maclist(intvls, Lopen = TRUE, Ropen = FALSE)

Value

A list of maximal antichains (each is a vector of row indices).

Arguments

intvls

A matrix with 2 columns: left and right endpoints of intervals.

Lopen

Logical. Whether the left endpoint is open.

Ropen

Logical. Whether the right endpoint is open.