removeSeasonalPeriod: Remove Seasonal Period

Description Usage Arguments Value Author(s)

Description

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.

Usage

1
removeSeasonalPeriod(x, period, time = 1:length(x))

Arguments

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.

Value

Returns a vector of data with the seasonality component removed.

Author(s)

Josh Browning (jbrownin@mines.edu)


snht documentation built on May 1, 2019, 10:05 p.m.