Description Usage Arguments Details Author(s) Examples
Create a seasonal daily time series and its seasonal and non-seasonal components
1 2 3 4 5 6 7 8 9 10 11 12 13 |
n |
length of time series in years |
week_effect |
increase size of seasonal factor for day-of-the-week |
month_effect |
increase size of seasonal factor for day-of-the-month |
year_effect |
increase size of seasonal factor for day-of-the-year |
model |
ARIMA model for trend and irregular component of series |
ar |
coefficients for AR terms |
ma |
coefficients for MA terms |
moving |
should seasonal factors be moving (=T) or constant (=F) |
week_cycles |
number of cycles per week |
month_cycles |
number of cycles per month |
year_cycles |
number of cycles per year |
The output is an xts time series containing the time series, the true seasonally adjusted series,
the day-of-the-week seasonal component, the day-of-the-month seasonal component and the
day-of-the-year seasonal component.
Daniel Ollech
1 2 3 |
Registered S3 method overwritten by 'quantmod':
method from
as.zoo.data.frame zoo
Try using extrafont::font_import() to load all fonts
Warning messages:
1: Use of `gg1$value` is discouraged. Use `value` instead.
2: Use of `gg1$variable` is discouraged. Use `variable` instead.
3: Use of `gg1$variable` is discouraged. Use `variable` instead.
Try using extrafont::font_import() to load all fonts
Warning messages:
1: Use of `gg1$value` is discouraged. Use `value` instead.
2: Use of `gg1$variable` is discouraged. Use `variable` instead.
3: Use of `gg1$variable` is discouraged. Use `variable` instead.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.