View source: R/smth-gaussian.R
smth.gaussian | R Documentation |
The specific function for smoothing using the gaussian window function
smth.gaussian(
x = stop("Numeric Vector 'x' is Required"),
window = getOption("smoother.window"),
alpha = getOption("smoother.gaussianwindow.alpha"),
...,
tails = getOption("smoother.tails")
)
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 |
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. |
y = runif(100)
ys = smth.gaussian(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.