loess.rpatrec: Use the inbuilt function loess to smooth time series data.

Description Usage Arguments Details Value Examples

Description

Use local regression to fit a global non-parametric model to the data. If the span is smaller than 1 the regression is truly local, if it is larger than 1 all data points in the sample are taken into account

Usage

1
loess.rpatrec(input, span = 0.75, ...)

Arguments

input

Time series data passed to be smoothed

span

The main smoothing parameter.

...

Optional: Other arguments passed to loess

Details

For an overview of the package capabilities, click here rpatrec. This function is purely included to provide the standard interface coherent with other smoothers to the user.

Value

Smoothed time series data only, no additional output.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
#create a standard HS pattern:
a <- generator()
#add noise to this patterns
b <- noise(a,'white',10)
#smooth to regain the signal
c <- loess.rpatrec(b)

## End(Not run)

maiers94/rpatrec documentation built on May 21, 2019, 11:06 a.m.