advdate: Advance dates by week

View source: R/dates.R

advdateR Documentation

Advance dates by week

Description

This function takes a start date, e.g. of a course, and advances it by a number of weeks. This function is used in the syllabus template.

Usage

advdate(startdate, week)

Arguments

startdate

The first date in the series (e.g. first day of class).

week

The number of weeks into the series. Week 1 is the first date in the series.

Value

A vector of dates in the format "dd mmm" in parentheses.

Examples

advdate("2021-06-23", 1:3)

iheiddown documentation built on Nov. 10, 2022, 5:52 p.m.