MMWRweekday {MMWRweek} | R Documentation |
This function returns the weekday of a given date according to MMWR.
MMWRweekday(date)
date |
vector which can be coerced to class |
vector of weekdays as a factor (first level is Sunday)
Sebastian Meyer seb.meyer@fau.de
y <- as.Date(paste(1999:2011, "-12-31", sep = ""))
data.frame(date = format(y), MMWRweekday = MMWRweekday(y))