| gapsts {Tides} | R Documentation | 
Gaps in time series
Description
Determine gaps (time intervals bigger than a certain maximum dtMax) in a time series
Usage
gapsts(ts, dtMax,unit = "mins", shiftbegin=FALSE)Arguments
| ts | Array of times, not necessarily of class  | 
| dtMax | Maximum time interval that is not considered as a gap. | 
| unit | Unit of dtMax. only used when ts is of class  | 
| shiftbegin | IF TRUE, the beginning of the gap is estimated at the time of the presumed (but not available) next sample, with the sampling rate derived from the time step between fore-last and last measurement before the gap. If FALSE the gap is assumed to begin at the time of the last sample. | 
Value
Data frame with the initial time, end time and time difference (unit = unit) of each interval > dtMax
Author(s)
Tom Cox <tom.cox@uantwerp.be>& Lennert Schepers <lennert.schepers@uantwerp.be>