pad and trim dates
add dates to an Fts object by padding w/ additional dates or remove dates from an Fts object by trimming dates
pad(x, pad.dates) trim(x, trim.dates) filter.min.obs(x, obs.required)
x |
An Fts object |
pad.dates |
a vector of dates. |
trim.dates |
a vector of dates. |
obs.required |
number of required observations per row. |
an fts object
Whit Armstrong
x <- fts(index=seq(from=Sys.Date(),by="days",length.out=5),data=1:5) pad.dates <- index(x)[1] + c(10L,20L) pad(x,pad.dates) trim.dts <- index(x)[c(1,3)] trim(x,trim.dts)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.