MMWRweekday {MMWRweek} | R Documentation |
Day of week according to MMWR
Description
This function returns the weekday of a given date according to MMWR.
Usage
MMWRweekday(date)
Arguments
date |
vector which can be coerced to class |
Value
vector of weekdays as a factor (first level is Sunday)
Author(s)
Sebastian Meyer seb.meyer@fau.de
See Also
Examples
y <- as.Date(paste(1999:2011, "-12-31", sep = ""))
data.frame(date = format(y), MMWRweekday = MMWRweekday(y))
[Package MMWRweek version 0.1.3 Index]