date_to_week | R Documentation |
Convert to as POSIXct to an 8D week number (1-46) or 7D week number (1-52)
date_to_week(x, week_length = c(8, 7)[1])
x |
POSIXct or Date vector |
week_length |
numeric, the number of days per week |
numeric 1-46 or 1-52 week number
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.