wday_monday {rmweather}R 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


[Package rmweather version 0.2.5 Index]