Description Usage Arguments Value Author(s) Examples
convert a time series from a higher frequency to a lower frequency or from an irregular frequency to a regular frequency
1 2 3 4 | to.weekly(x)
to.monthly(x)
to.quarterly(x)
to.day.of.week(x,day.of.week,beginning.of.period=TRUE)
|
x |
An Fts object. |
day.of.week |
a numerical value indicating the day of week following POSIXlt conventions. |
beginning.of.period |
whether to shift the sampling dates to the beginning of period dates. |
an Fts object
Whit Armstrong
1 2 3 4 5 | x <- fts(index=seq(from=Sys.Date(),by="days",length.out=500),data=1:500)
to.weekly(x)
to.monthly(x)
to.quarterly(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.