day2week: converts a date in month-day-year format and finds the day of...

View source: R/day2week.r

day2weekR Documentation

converts a date in month-day-year format and finds the day of week

Description

converts a date in month-day-year format and finds the day of week

Usage

day2week(date)

Arguments

date

a given date in month-day-year format, a 3-element vector

Value

dayofweek: number 1 through 7, where 1 is Sunday, 2 is Monday, etc.

Note

calibrated according to Jan 1, 1600 being a Saturday


tuckermcelroy/sigex documentation built on Nov. 14, 2024, 3:28 p.m.