find_weekday: m2c2R

View source: R/find_weekday.R

find_weekdayR Documentation

m2c2R

Description

m2c2R

Usage

find_weekday(wday = "sun", days = 1, weekstart = "sun")

Arguments

wday

Abbreviation for starting day ("sun", "mon", "tues", "wed", "thurs", "fri", "sat")

days

Number of days to increment

weekstart

Day considered as the start of the week (either Sunday or Monday)

Details

This function takes a day of the week and a number of days to increment as input and returns the name of the weekday that is n days after the wday provided.

Value

Returns the name of the weekday that is n days after the wday provided.

Author(s)

Nelson Roque, Nelson.Roque@ucf.edu


nelsonroque/m2c2R documentation built on Oct. 8, 2022, 7:50 a.m.