week_monday: Function to get Monday-based week number of a date.

View source: R/week_monday.R

week_mondayR Documentation

Function to get Monday-based week number of a date.

Description

Function to get Monday-based week number of a date.

Usage

week_monday(date, floor = FALSE)

Arguments

date

Vector containing parsed dates.

floor

Should weeks which belong to the 53 rd week for the year be rounded down to the 52 nd week? Default is FALSE.

Value

Integer vector.

Author(s)

Stuart K. Grange

See Also

wday, week_financial


skgrange/threadr documentation built on May 11, 2024, 12:16 p.m.