trend {utsf} | R Documentation |
Specifying the transformation for dealing with trended series
Description
This function is used to specify the preprocessing associated with the trend of a time series.
Usage
trend(type = "additive", n = -1)
Arguments
type |
A character indicating the type of preprocessing applied to the
time series. Possible values are: |
n |
An integer specifying the order of first differences to be applied.
If the default (-1) is used, the order of first differences needed by the
time series will be estimated by the |
Value
A list with the selected options
Examples
trend("none") # no preprocessing
trend("additive") # additive preprocessing
trend("differences", 1) # order 1 first differences
trend("differences", -1) # number of first differences estimated
[Package utsf version 1.1.0 Index]