easter | R Documentation |
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)
x |
Monthly or quarterly time series |
easter.mon |
If TRUE, the length of Easter holidays includes Easter Monday. |
Useful for adjusting calendar effects.
Time series
Earo Wang
easter(wineind, easter.mon = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.