week8: 8-day week number

View source: R/date_funcs.R

week8R Documentation

8-day week number

Description

This converts a date or date vector to its corresponding 8-day week number(s). 8 days is the standard number of days in a composite "week" time period as used for ocean colour by NASA. Use similarly to lubridate functions like lubridate::week().

Usage

week8(dateval)

Arguments

dateval

String or date formatted with as.Date()

Value

numeric value of week number

Examples

week8("2020-03-27")
week8(your_data_frame$Dates)

BIO-RSG/oceancolouR documentation built on April 30, 2024, 7:54 a.m.