Check whether a set of intervals (ivals) contains gaps (given as a second set of intervals). If so, either remove or split the original intervals.
RemoveGaps(gaps, ivals, method = c("All", "Split"))
Dataframe generated with gapsts
containing gaps in waterlevel time series
Data frame of intervals that have to be corrected for gaps (typically dry times DTS or inundation times ITs)
Method to remove gaps. "All": every interval containing (part of) a gap is removed. "Split": intervals are split into smaller intervals before and after the gap. "None" nothing is done