View source: R/lubridate_supplements.R
wday_monday | R Documentation |
1
is Monday and
7
is Sunday.Function to get weekday number from a date where 1
is Monday and
7
is Sunday.
wday_monday(x, as.factor = FALSE, abbr = FALSE)
x |
Date vector. |
as.factor |
Should the return be an (ordered) factor with weekday labels? |
abbr |
If |
Numeric or factor vector.
Stuart K. Grange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.