intrval-package {intrval}R Documentation

Relational Operators for Intervals

Description

Evaluating if values of vectors are within different open/closed intervals ('x %[]% c(a, b)'), or if two closed intervals overlap ('c(a1, b1) %[]o[]% c(a2, b2)'). Operators for negation and directional relations also implemented.

Details

The DESCRIPTION file:

Package: intrval
Type: Package
Title: Relational Operators for Intervals
Version: 1.0-0
Date: 2025-07-12
Authors@R: c(person(given = "Peter", family = "Solymos", comment = c(ORCID = "0000-0001-7337-1740"), role = c("aut", "cre"), email = "psolymos@gmail.com"))
Maintainer: Peter Solymos <psolymos@gmail.com>
Description: Evaluating if values of vectors are within different open/closed intervals (`x %[]% c(a, b)`), or if two closed intervals overlap (`c(a1, b1) %[]o[]% c(a2, b2)`). Operators for negation and directional relations also implemented.
License: GPL-2
Imports: fpCompare
URL: https://github.com/psolymos/intrval
BugReports: https://github.com/psolymos/intrval/issues
LazyLoad: yes
LazyData: true
Author: Peter Solymos [aut, cre] (<https://orcid.org/0000-0001-7337-1740>)

Index of help topics:



intrval                 Relational Operators Comparing Values to
                        Intervals
intrval-options         Global options for the intrval package
intrval-package         Relational Operators for Intervals
ovrlap                  Relational Operators Comparing Two Intervals

Relational operators for value-to-interval comparisons: %[]% and alikes.

Relational operators for interval-to-interval comparisons: %[o]% and alikes.

Negated value matching: %ni%.

Author(s)

Peter Solymos [aut, cre] (<https://orcid.org/0000-0001-7337-1740>)

Maintainer: Peter Solymos <psolymos@gmail.com>


[Package intrval version 1.0-0 Index]