RemoveGaps: Remove gaps from intervals

Description Usage Arguments

View source: R/RemoveGaps.R

Description

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.

Usage

1
RemoveGaps(gaps, ivals, method = c("All", "Split"))

Arguments

gaps

Dataframe generated with gapsts containing gaps in waterlevel time series

ivals

Data frame of intervals that have to be corrected for gaps (typically dry times DTS or inundation times ITs)

method

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


Tides documentation built on May 2, 2019, 2:03 a.m.