applyDataGaps: Break apart timeseries data frames for any gaps.

Description Usage Arguments

View source: R/utils-gaps.R

Description

Return a list of new data frames given a single data frame and the start/end times of gaps.

Usage

1
applyDataGaps(timeValueDF, startGaps, endGaps, timezone, isDV = FALSE)

Arguments

timeValueDF

data.frame to split with at least two columns, value and time

startGaps

vector of dates giving the beginning of a gap period (this time and associated value are included in the returned data). Listed sequentially.

endGaps

vector of dates giving the beginning of a gap period (this time and associated value are included in the returned data). Listed sequentially.

timezone

string giving the timezone that the date time values are given

isDV

logical saying whether or not the time series is made of daily values; default is FALSE


USGS-R/repgen documentation built on April 14, 2021, 2:47 p.m.