plot,decomp-method | R Documentation |
This is method for producing various plots of the decomposition results returned by this package.
## S4 method for signature 'decomp'
plot(x, which = NULL, ...)
x |
an object returned by the function |
which |
various plots can be selected either via a keyword or a number;
enter |
... |
further arguments to pass to |
Create predefined standard plots of the decomposition objects returned by the
deseats
package, e.g. returned by the function deseats
.
Plots are created in the base R plot style. The type of plot can be chosen
either interactively from the console, or the argument which
can be
used to directly select the kind of plot to create (see also the description
of the argument which
) within the function call.
If plot type 5 (which = 5
) is selected, the estimated
seasonality will be displayed around the mean of the observations by default.
Setting the additional argument s_around
to some other value, will lead
to the seasonality being displayed around that constant value.
A graphic is created in the plots windows, the function itself, however,
returns NULL
.
Dominik Schulz (Research Assistant) (Department of Economics, Paderborn
University),
Author and Package Creator
Xt <- log(EXPENDITURES)
est <- deseats(Xt)
plot(est, which = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.