Smooth Using Gaussian Window

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)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.