lp.variable | R Documentation |
Leap Year regressor
lp.variable( frequency, start, length, s, type = c("LeapYear", "LengthOfPeriod") )
frequency |
Annual frequency (divisor of 12). |
start, length |
First date (array with the first year and the first period)
(for instance |
s |
time series used to get the dates for the trading days variables. If supplied the
parameters |
type |
the modelisation of the leap year effect: as a contrast variable ( |
# Leap years occurs on 2000, 2004, 2008 and 2012 lp.variable(4, start = c(2000, 1), length = 4*13)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.