getCommonIntervals: Get the common intervals of possibly overlapping intervals:

View source: R/Utilities.R

getCommonIntervalsR Documentation

Get the common intervals of possibly overlapping intervals:

Description

Get the common intervals of possibly overlapping intervals:

Usage

getCommonIntervals(
  data,
  varMin = NULL,
  varMax = NULL,
  lowerName = NULL,
  upperName = NULL
)

Arguments

data

A data.table/data.frame holding the columns representing lower and upper interval.

varMin

The name of the lower interval column. By default interpreted from the first column of data.

varMax

The name of the upper interval column. By default interpreted from the second column of data.

lowerName

The name of the lower interval column in the output table. By default set to varMin.

upperName

The name of the upper interval column in the output table. By default set to varMax.


StoXProject/RstoxBase documentation built on Nov. 6, 2024, noon