remove.seasonality | R Documentation |
Calculates the seasonal component of a time series and subtracts it from the original.
remove.seasonality(x, mc.cores = NULL)
x |
Either an object of class xts or a list of those. |
mc.cores |
A numerical input specifying the number of cores
to use for the multi core application of the function (see
|
The function stl
with the argument
s.window = 12
and a
conversion of the input into a ts class object of daily
data is used to calculate the seasonal component. This should be
replaced by a more sophisticated solution as soon I digged
deeper into the field of deseasonalization.
remove.incomplete.years
is used
to remove incomplete years from the data set. This ensures a
better calculation of the seasonal component but also requires
to forecast it to the length of the original data set and align
it at the right place for subtraction.
This function can also be applied to a list of xts class objects.
Some class as input.
Philipp Mueller
Other ts: aic.climex.fit.gev
,
aic.climex.fit.gpd
, aic.list
,
aic
, anomalies.list
,
anomalies.xts
, anomalies
,
bic.climex.fit.gev
,
bic.climex.fit.gpd
, bic.list
,
bic
, check.completeness
,
remove.incomplete.years.list
,
remove.incomplete.years.xts
,
remove.incomplete.years
,
remove.seasonality.list
,
remove.seasonality.xts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.