wdaymon: Version of the wday function from lubridate, where the monday...

Description Usage Arguments Value Note

View source: R/lubridate.R

Description

The function returns a vector of integer, where mondays are 1 and sundays are 7.

Usage

1

Arguments

date

- vector of dates

Value

vector of numeric with the weekdays (mon=1, sun=7)

Note

Function could have been written with pure strptime commands in case one does not want the lubridate dependencies.


Hackout2/incidence documentation built on May 6, 2019, 9:47 p.m.