splitDataGapsList: Split multiple time series when there are gaps

Description Usage Arguments

View source: R/utils-gaps.R

Description

Given a list of time series, this will return a list where gaps in data have been applied to each. The names of the time series will be duplicated if there were gaps that caused the individual time series to break into multiple.

Usage

1
splitDataGapsList(allVars, timezone, flagZeroNeg, isDV = FALSE)

Arguments

allVars

contains all ts/vars that are not empty (equals allVars in the *-data.R script)

timezone

string giving the timezone

flagZeroNeg

logical indicating whether or not the zeros & negatives can be removed for logging the axis

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.