Description Usage Arguments Value Note See Also Examples
Select a kernel function for kernel regression and kernel smoothing.
1 |
kernel |
character string giving the smoothing kernel to be used.
This must be one of gaussian, epanechnikov, quadratic,
quartic, or |
A character string of the kernel function selected, or the kernel
function currently being used when kernel
is NULL
.
The default kernel used is Gaussian. Unless users want to use a
non-default kernel, there is no need to call setkernel
.
quadratic is an alias for epanechnikov.
setkernel
setup kernel function for both kernel regression in the
type-specific probability estimation and the kernel smoothing in the
intensity function estimation.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.