overlaps: Check if two intervals overlap

View source: R/utils.R

overlapsR Documentation

Check if two intervals overlap

Description

Check if two intervals overlap

Usage

overlaps(x1, x2, digits)

Arguments

x1

a numeric vector of length 2

x2

a numeric vector of length 2

digits

integer indicating the number of decimal places to be used

Value

TRUE if x1 and x2 overlap

Author(s)

Sangeeta Bhatia


mrc-ide/rincewind documentation built on Aug. 5, 2022, 3:20 a.m.