makeDateInfo: makeDateInfo

Description Usage Arguments Examples

View source: R/runSeries.R

Description

Create a data frame that organizes date segmentations for runSeries.

Usage

1
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

1
2
3
4
5
6
7
8
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)

EGRET documentation built on Jan. 25, 2022, 5:08 p.m.