kernSmooth1 | R Documentation |
(Usually Gaussian) smoothing an array along the first dimension. Note: Due to high variability in the speed of the fft() used in convolve() in this function, the performance times vary greatly for different lengths of the input data. NAs are removed in the actual convolution, so a large number of NAs should not slow down the function.
kernSmooth1(x, kern = 3, nsd = 3)
x |
is an array to be smoothed along the first dimension. |
kern |
is the kernel of the smoothing filter, defaulted to a Gaussian kernel. |
nsd |
is the number of standard deviations on either side of the mean of the Gaussian kernel, outside which the kernel is zero. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.