
This GNU R package provides tools for working with and comparing sets of points and intervals.
The intervals package defines two S4 classes which represent collections of intervals over either the integers (Z) or the real number line (R). An instance of either class consists of a two-column matrix of endpoints, plus additional slots describing endpoint closure and whether the intervals are to be thought of as being over Z or R.