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


rmweather documentation built on Nov. 21, 2023, 5:06 p.m.