splines: Use the inbuilt function smooth.spline to smooth time series...

Description Usage Arguments Details Value Examples

Description

This function provides smoothing capabilities using the cubic B-spline

Usage

1
splines(input, spar = 0.5, ...)

Arguments

input

Time series data passed to be smoothed

spar

Smoothing Parameter, value should be between 0 and 1. NULL for automatic computation

...

Optional: Other arguments passed to smooth.spline

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 <- splines(b)

## End(Not run)

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