Description Usage Arguments Value Note
The function returns a vector of integer, where mondays are 1 and sundays are 7.
1 |
date |
- vector of dates |
vector of numeric with the weekdays (mon=1, sun=7)
Function could have been written with pure strptime commands in case one does not want the lubridate dependencies.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.