mmwr_weekday.Rd
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).
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.