View source: R/KernelRetrieval.R
KernelRetrieval | R Documentation |
This function helps retrieve the commonly used kernel function, its second moment, and its variance based on the name.
KernelRetrieval(name)
name |
The lower-case full name of the kernel function. |
A list that contains three elements.
KernFunc |
The interested kernel function. |
sigmaK_sq |
The second moment of the kernel function. |
K_sq |
The variance of the kernel function. |
Yikun Zhang, yikunzhang@foxmail.com
kernel_result <- KernelRetrieval("epanechnikov")
kernT <- kernel_result$KernFunc
sigmaK_sq <- kernel_result$sigmaK_sq
K_sq <- kernel_result$K_sq
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.