Add ordered argument to lubridate::wday
wday(x, label = FALSE, abbr = TRUE, ordered = FALSE)
| x | Input date vector |
|---|---|
| label | Weekday as label (TRUE, FALSE) |
| abbr | Abbreviate label (TRUE, FALSE) |
| ordered | Order factor (TRUE, FALSE) |
See the lubridate::wday() function in the lubridate package for additional details