Learn R Programming

MMWRweek (version 0.1.3)

MMWRweek2Date: Convert MMWRweek to Date

Description

Computes the Date from the MMWR year, week, and day.

Usage

MMWRweek2Date(MMWRyear, MMWRweek, MMWRday = NULL)

Arguments

MMWRyear

numeric vector of years

MMWRweek

numeric vector of weeks

MMWRday

numeric vector of days, defaults to a vector of 1s

Value

Date vector of dates associated with MMWR year, week, and day

See Also

MMWRweek

Examples

Run this code
# NOT RUN {
MMWRweek2Date(MMWRyear=2015,MMWRweek=36,MMWRday=3)
# }

Run the code above in your browser using DataLab