Description Usage Arguments See Also Examples
This function removes given time series component(s) from selected columns in a data frame or data matrix. Each column in the data frame will be automatically converted to a time series object, and a decomposition process will then be applied to it. Users can choose to remove the seasonal component, the trend, or both components from the time series. A new data frame will be returned.
1 |
df |
a data frame or matrix upon which the removal process is applied. |
index |
integers connected by a colon indicating which columns in the data frame should be considered. If ommitted, all columns are considered by default. |
rm |
a character indicating which time series component(s) should be removed. Options include |
frequency |
an integer indicating the frequency of the time series. Default is |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.