RemoveGaps {Tides}R Documentation

Remove gaps from intervals

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

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


[Package Tides version 2.1 Index]