Description Usage Arguments Value Note Examples
This is a reformat and re-export of a function in the MMWRweek
package.
It provides a snake case version of its counterpart, produces a factor
of
weekday names (Sunday-Saturday).
1 | mmwr_weekday(x, abbr = FALSE)
|
x |
a vector of |
abbr |
(logical) if |
ordered factor
Weekday names are explicitly mapped to "Sunday-Saturday" or "Sun-Sat" and do not change with your locale.
1 | mwday <- mmwr_weekday(Sys.Date())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.