extend.time  R Documentation 
Pads a vector of dates to a specified length.
ExtendTime(dates, number.of.periods, dt = NULL)
dates 
An ordered vector of class 
number.of.periods 
The desired length of the output. 
dt 
A character string describing the frequency of the dates in

If number.of.periods
is longer than length(dates)
, then
dates
will be padded to the desired length. Extra dates are
added at time intervals matching the average interval in
dates
. Thus they may not be
Steven L. Scott steve.the.bayesian@gmail.com
bsts.mixed
.
origin.month < as.Date("20110901")
week.ending < as.Date(c("20111001", ## 1
"20111008", ## 2
"20111203", ## 3
"20111231")) ## 4
MatchWeekToMonth(week.ending, origin.month) == 1:4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.