Description Usage Arguments Value Author(s)
This function estimates the seasonal period of a time series via a GAM model. The data series with the seasonal period removed is then returned.
1 | removeSeasonalPeriod(x, period, time = 1:length(x))
|
x |
The time series to be analyzed. |
period |
The period of the seasonality of the data. |
time |
If not provided, then the observations are assumed to occur at integer times 1, 2, ..., length(x). Otherwise, the time vector may specify when these observations occur. |
Returns a vector of data with the seasonality component removed.
Josh Browning (jbrownin@mines.edu)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.