Learn R Programming

copula (version 0.999-7)

interval-class: Class "interval" of Simple Intervals

Description

The S4 class "interval" is a simple class for numeric intervals.

"maybeInterval" is a class union (see setClassUnion) of "interval" and "NULL".

Arguments

Objects from the Class

Objects can be created by calls of the form new("interval", ...), but typically they are built via interval().

Extends

Class "interval" extends "numeric", from data part, and "maybeInterval", directly.

See Also

interval constructs "interval" objects conveniently.

Examples

Run this code
-1:2 %in% interval("(0, Inf)")
## 0 is *not* inside

Run the code above in your browser using DataLab