Skip to contents

Create a data frame that organizes date segmentations for runSeries.

Usage

makeDateInfo(windowSide, surfaceStart, surfaceEnd, firstQDate0, lastQDate0)

Arguments

windowSide

integer number of automatically generated span sections, default is 7. If NA, code will use

surfaceStart

character (or Date) in YYYY-MM-DD. Date on which we want the analysis to start, it must be at or after the

surfaceEnd

character (or Date) in YYYY-MM-DD. Date on which we want the analysis to end, it must be at or before the end of

firstQDate0

character (or Date) in YYYY-MM-DD. The first day used in flow normalizing distributions, default is the start of eList$Daily

lastQDate0

character (or Date) in YYYY-MM-DD. The last day used in flow normalizating distributions, default is the end of eList$Daily

Examples

windowSide <- 7
surfaceStart <- "1984-01-01"
surfaceEnd <- "2012-12-31"
firstQDate0 <- "1970-01-01"
lastQDate0 <- "2014-06-01"
dateInfo <- makeDateInfo(windowSide, 
                         surfaceStart, surfaceEnd, 
                         firstQDate0, lastQDate0)