dates: Populate a calendar listing

Description Usage Arguments Examples

View source: R/calendar.R

Description

Populate a calendar listing

Usage

1
2
3
4
5
6
dates(
  begin = "2019-09-05",
  end = "2019-12-12",
  days_of_week = c(3, 5),
  holidays = NULL
)

Arguments

begin

first day of class

end

last day of class

days_of_week

on which days does the class meet?

holidays

vector of exceptions

Examples

1
2
3
dates()
dates(days_of_week = c(2, 4, 6),
      holidays = c("2019-10-14", "2019-10-15"))

beanumber/moodler documentation built on April 15, 2020, 9:32 p.m.