smth.gaussian: Smooth Using Gaussian Window

Description Usage Arguments Examples

View source: R/smth-gaussian.R

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)

smoother documentation built on May 30, 2017, 8:12 a.m.

Search within the smoother package
Search all R packages, documentation and source code