MMWRweekday: Day of week according to MMWR

Description Usage Arguments Value Author(s) See Also Examples

View source: R/MMWRweekday.R

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 (first level is Sunday)

Author(s)

Sebastian Meyer seb.meyer@fau.de

See Also

MMWRweek

Examples

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

MMWRweek documentation built on April 22, 2020, 5:07 p.m.