Day of week according to MMWR

Description

This function returns the weekday of a given date according to MMWR.

Usage

1

Arguments

date

vector which can be coerced to class Date

Value

vector of weekdays as a factor

Author(s)

Jarad Niemi niemi@iastate.edu

See Also

MMWRweek

Examples

1
2
y <- as.Date(paste(1999:2011, "-12-31", sep = ""))
data.frame(date = format(y), MMWRweekday = MMWRweekday(y))