Description Usage Arguments Value Examples
This function allows you to the week number in one year for a given date
1 |
date |
date |
a number
1 2 3 4 | library("lubridate")
week_of_the_year(date = today())
week_of_the_year(date = as.Date("2015-10-21"))
week_of_the_year(seq(as.Date("1990-12-31"), as.Date("2015-12-31"), by = "year"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.