Learn R Programming

icmstate (version 0.2.0)

Alargerb: Check if closed interval is contained in half-open infinite interval

Description

Function which takes as input a matrix with 2 columns and a vector indicating left points of intervals [b, Infinity) and checks whether each interval in the matrix is contained within the corresponding interval derived from b.

Usage

Alargerb(A, b)

Value

Matrix of size (nrow(A) * length(b)) with binary values indicating whether the intervals in A are contained in the ones induced by b

Arguments

A

Two column matrix containing intervals to be checked for being contained in b

b

Vector indicating left point in corresponding [b, Infinity) interval