This function returns the weekday of a given date according to MMWR.
vector which can be coerced to class Date
vector of weekdays as a factor
Jarad Niemi email@example.com
y <- as.Date(paste(1999:2011, "-12-31", sep = ""))
data.frame(date = format(y), MMWRweekday = MMWRweekday(y))
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.