smth.gaussian: Smooth Using Gaussian Window

Description Usage Arguments Examples

Description

The specific function for smoothing using the gaussian window function

Usage

1
2
3
4
smth.gaussian(x = stop("Numeric Vector 'x' is Required"),
  window = getOption("smoother.window"),
  alpha = getOption("smoother.gaussianwindow.alpha"), ...,
  tails = getOption("smoother.tails"))

Arguments

x

numeric vector of values to smooth, error will be thrown if not provided.

window

the length of the smoothing window, if an integer, represents number of items, else, if a value between 0 and 1, represents the proportion of the input vector

alpha

parameter to determine the breadth of the gaussian window, yielding more or less sensitive smoothing characteristics

...

not used

tails

Logical value as to whether the tail regions should be included or not.

Examples

1
2
y  = runif(100)
  ys = smth.gaussian(y)

Example output

Loading required package: TTR

smoother documentation built on May 2, 2019, 4 p.m.