gapsts: Gaps in time series

Description Usage Arguments Value Author(s)

View source: R/Tides.R

Description

Determine gaps (time intervals bigger than a certain maximum dtMax) in a time series

Usage

1
gapsts(ts, dtMax,unit = "mins")

Arguments

ts

Array of times, not necessarily of class POSIXt. Time sequences with differences of subsequent values < dtMax are considered a continuous series. Time differences > dtMax are considered gaps between two consecutive series.

dtMax

Maximum time interval that is not considered as a gap.

unit

Unit of dtMax. only used when ts is of class POSIXt

Value

Data frame with the initial time, end time and time difference (unit = unit) of each interval > dtMax

Author(s)

Tom Cox <[email protected]>


Tides documentation built on May 2, 2019, 4:46 p.m.