date: ddd.date

Description Usage Arguments Examples

Description

ddd.date

Usage

1
date(timeResolution, fromPeriod, toPeriod, format, saveDate = NULL)

Arguments

timeResolution

choice between "daily","hourly","minute","second"

fromPeriod

"YYYYmmddHHMMSS"

toPeriod

"YYYYmmddHHMMSS"

format

conversion into a vector "YYMMDDHH" or a matrix "YY,MM,DD,HH"

saveDate

"YYYYmmddHHMMSS"

Examples

1
2
3
4
5
res <- date(timeResolution="hourly",
            fromPeriod="2015021500",
            toPeriod="2015021823",
            format="YY,MM,DD,HH")
head(res)

nexModeling/ddd documentation built on May 23, 2019, 4:27 p.m.