R/Utilities.R
getCommonIntervals.RdGet the common intervals of possibly overlapping intervals:
getCommonIntervals(
data,
varMin = NULL,
varMax = NULL,
lowerName = NULL,
upperName = NULL
)A data.table/data.frame holding the columns representing lower and upper interval.
The name of the lower interval column. By default interpreted from the first column of data.
The name of the upper interval column. By default interpreted from the second column of data.
The name of the lower interval column in the output table. By default set to varMin.
The name of the upper interval column in the output table. By default set to varMax.