Last chance! 50% off unlimited learning
Sale ends in
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
.
easter(x, easter.mon = FALSE)
Time series
Monthly or quarterly time series
If TRUE, the length of Easter holidays includes Easter Monday.
Earo Wang
Useful for adjusting calendar effects.
easter(wineind, easter.mon = TRUE)
Run the code above in your browser using DataLab