Learn R Programming

aws (version 1.8-0)

kernsm: Kernel smoothing on a 1D, 2D or 3D grid

Description

Performs Kernel smoothing on a 1D, 2D or 3D grid by fft

Usage

kernsm(y, h = 1, kern = "Gaussian", m = 0, nsector = 1, sector = 1, symmetric = FALSE)

Arguments

y
Object of class "array" containing the original (response) data on a grid
h
bandwidth
kern
Determines the kernel function. Object of class "character" kernel, can be any of c("Gaussian","Uniform","Triangle","Epanechnicov","Biweight","Triweight"). Defaults to kern="Gaussian"
m
Object of class "integer" vector of length length(dy) determining the order of derivatives specified for the coordinate directios.
nsector
number of sectors to use. Positive weights are restricted to the sector selected by sector
sector
Object of class "integer" between 1 and nsector. sector used.
symmetric
Object of class "logical" determines if sectors are symmetric with respect to the origin. ~~Describe symmetric here~~

Value

  • An object of class kernsm

Details

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.

References

Local Approximation Techniques in Signal And Image Processing, SPIE Society of Photo-Optical Instrumentation Engin., 2006, PM157

See Also

kernsm-class, ICIsmooth,ICIcombined