Learn R Programming

rmweather (version 0.2.62)

wday_monday: 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)

Value

Numeric vector.

Arguments

x

Date vector.

as.factor

Should the return be a factor?

Author

Stuart K. Grange