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)
Monthly or quarterly time series
If TRUE, the length of Easter holidays includes Easter Monday.
Time series
Useful for adjusting calendar effects.
# NOT RUN {
easter(wineind, easter.mon = TRUE)
# }
Run the code above in your browser using DataLab