detrend: Detrend a time series

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/preprocess.R

Description

Preprocessors for a time series.

Usage

1

Arguments

y

time series

demean

Logical.If TRUE, time series y will be centered.

norm

Logical.If TRUE, time series y will be centered and normalized

det

Logical.If TRUE, then time trend is removed by fitting a linear model to the time series y

smooth

Logical.If TRUE, then time trend is removed by a local fitting regression(loess) to the time series y

...

Additional arguments passed to loess

Details

~~ If necessary, more details than the description above ~~

Value

dt

Vector with the detrended data.

Note

~~further notes~~

Author(s)

~~who you are~~

References

~put references to the literature/web site here ~

See Also

~~objects to See Also as help, ~~~

Examples

1
2
3
4
5
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as

ssa documentation built on May 2, 2019, 5:54 p.m.

Related to detrend in ssa...