Learn R Programming

ISDA.R (version 1.0)

interval: Interval set data

Description

An structure of interval set

Usage

interval(min, max)

Arguments

min
One vector with the inferior bounds for all the intervals in the set
max
One vector with the superior bounds for all the intervals in the set

Value

An interval set data

Details

It's important that the min and max bound is in the same order in those vectors to describe the desired intervals

Examples

Run this code
xmin = c(1.3,2.4,3.5,2.5,2.1)
xmax = c(2.5,5.2,6.3,5.2,5.6)
interval(xmin,xmax)


Run the code above in your browser using DataLab