Date2CDCweek: Convert a Date to CDC Week and Year

Description Usage Arguments Value Examples

Description

CDC week numbering: first Wednesday of the year is in week 1.

Usage

1

Arguments

date

A ‘Date’ class object

Value

A list containing the CDC week and year that ‘date’ falls in.

Examples

1
2
require(DICE)
Date2CDCweek(as.Date('2011-03-15'))

predsci/DICE documentation built on Aug. 9, 2019, 9:41 a.m.