week8_date | R Documentation |
This converts a week number (8 days per week) to its corresponding date. Year is required as this will vary for leap years. 8 days is the standard number of days in a composite "week" time period as used for ocean colour by NASA.
week8_date(yearnum, weeknum)
yearnum |
Numeric year number or vector |
weeknum |
Numeric week number or vector |
date value formatted with as.Date()
week8_date(2010, 8)
week8_date(yearnum = c(2010,2010), weeknum = c(8,9))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.