wday_monday: Function to get weekday number from a date where '1' is...

View source: R/rmweather_helpers.R

wday_mondayR Documentation

Function to get weekday number from a date where 1 is Monday and 7 is Sunday.

Description

Function to get weekday number from a date where 1 is Monday and 7 is Sunday.

Usage

wday_monday(x, as.factor = FALSE)

Arguments

x

Date vector.

as.factor

Should the return be a factor?

Value

Numeric vector.

Author(s)

Stuart K. Grange


skgrange/rmweather documentation built on Nov. 29, 2023, 2:39 a.m.