overlaps: Check if two intervals overlap

Description Usage Arguments Value Author(s)

View source: R/utils.R

Description

Check if two intervals overlap

Usage

1
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 Oct. 25, 2020, 12:32 p.m.