calendar.fixedweekday: Add fixed week day to a calendar

View source: R/calendars.R

calendar.fixedweekdayR Documentation

Add fixed week day to a calendar

Description

Add fixed week day to a calendar

Usage

calendar.fixedweekday(
  calendar,
  month,
  week,
  dayofweek,
  weight = 1,
  start = NULL,
  end = NULL
)

Arguments

calendar

The calendar.

month

the month of the day to add: from 1 (January) to 12 (December).

week

the number of the week of the day to add: from 1 (first week of the month) to 5.

dayofweek

the day of the week: from 1 (Monday) to 7 (Sunday).

weight

weight associated to the holiday.

start, end

Validity period of the holiday in the format "YYYY-MM-DD".


palatej/rjd3modelling documentation built on Jan. 3, 2023, 10:19 p.m.