weekly2date: obtain start and end dates for a weekly time series

View source: R/weekly2date.r

weekly2dateR Documentation

obtain start and end dates for a weekly time series

Description

obtain start and end dates for a weekly time series

Usage

weekly2date(first.day, begin, T)

Arguments

first.day

For the weekly data, first.day indicates what day of the week corresponds to the first day in the week, with 1 = Sunday, 2 = Monday, etc. e.g. for weekly data beginning with Sunday, set first.day = 1

begin

Two components with year and week index (between 1 and 53)

T

Number of weeks in the time series

Value

list with start.date and end.date, each in format c(month,day,year)


jlivsey/sigex documentation built on May 25, 2024, 4:17 a.m.