easter: Easter holidays in each season

Description Usage Arguments Details Value Author(s) Examples

Description

Returns a vector of 0's and 1's or fractional results if Easter spans March and April in the observed time period. Easter is defined as the days from Good Friday to Easter Sunday inclusively, plus optionally Easter Monday if easter.mon=TRUE.

Usage

1
easter(x, easter.mon = FALSE)

Arguments

x

Monthly or quarterly time series

easter.mon

If TRUE, the length of Easter holidays includes Easter Monday.

Details

Useful for adjusting calendar effects.

Value

Time series

Author(s)

Earo Wang

Examples

1
  easter(wineind, easter.mon = TRUE)

pli2016/forecast documentation built on May 25, 2019, 8:22 a.m.