pentad | R Documentation |
Convert a date or date-time object to a yearly pentad (5-day period)
pentad(date)
date |
A date-time object |
a numerical vector of pentad objects corresponding to date variable.
pentad(as.Date("2020/12/25"))
pentad(as.Date("1999/01/01"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.