Description Usage Arguments Value Examples
Find the Friday in a given week from a sequence of Dates Vectors should be in as.Date() format
1 | index_by_friday(dates)
|
dates |
vector of dates |
The date of the Friday in the week of the given date
1 2 3 4 | dates <- seq.Date(from = as.Date("2020-09-21"),
by = "week", length.out = 10)
fridays <- index_by_friday(dates)
weekdays(fridays)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.