get_kernel {kdensity}R Documentation

Helper function that gets a kernel function for kdensity.

Description

Helper function that gets a kernel function for kdensity.

Usage

get_kernel(kernel_str)

Arguments

kernel_str

a string specifying which kernel to use.

Value

a kernel function of the format k(u) with integral normalized to 1.


[Package kdensity version 1.1.0 Index]