Performs Kernel smoothing on a 1D, 2D or 3D grid by fft
kernsm(y, h = 1, kern = "Gaussian", m = 0, nsector = 1, sector = 1,
symmetric = FALSE, unit = c("SD","FWHM"))
An object of class kernsm
Object of class "array"
containing the original (response) data
on a grid
bandwidth
Determines the kernel function.
Object of class "character"
kernel, can be any of
c("Gaussian","Uniform","Triangle","Epanechnicov","Biweight","Triweight")
.
Defaults to kern="Gaussian"
Object of class "integer"
vector of length length(dy)
determining the order of derivatives specified for the coordinate directios.
number of sectors to use. Positive weights are restricted to the sector
selected by sector
Object of class "integer"
between 1
and nsector
. sector used.
Object of class "logical"
determines if sectors are symmetric with respect to the origin.
How should the bandwidth be interpreted in case of a Gaussian kernel.
For "SD"
the bandwidth refers to the standard deviation of the
kernel while "FWHM"
interprets the banwidth in terms of Full Width Half
Maximum of the kernel.
Joerg Polzehl polzehl@wias-berlin.de
In case of any(m>0)
derivative kernels are generated and applied for the
corresponding coordinate directions. If nsector>1
the support of the kernel
is restricted to a circular sector determined by sector
.
J. Polzehl, K. Papafitsoros, K. Tabelow (2020). Patch-Wise Adaptive Weights Smoothing in R, Journal of Statistical Software, 95(6), 1-27. doi:10.18637/jss.v095.i06 .
V. Katkovnik, K. Egiazarian and J. Astola, Local Approximation Techniques in Signal And Image Processing, SPIE Society of Photo-Optical Instrumentation Engin., 2006, PM157
kernsm-class
, ICIsmooth
,ICIcombined