View source: R/makeparetokernel.r
makeparetokernel | R Documentation |
This function creates a Pareto kernel for use with kernelsmooth
.
makeparetokernel(scale, shape, max.r = max.r, cellsize)
scale, shape |
These control the shape of the kernel. See |
max.r |
The maximum radius for which which weights are calculated. |
cellsize |
The cellsize of the data to which the kernel will be applied. |
this function returns a square matrix where each cell contains a weight that is a Pareto function of the distance to the center of the kernel.
Ethan Plunkett
makegaussiankernel
,
A working example is in kernelsmooth
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.