get_kernel: Helper function that gets a kernel function for kdensity.

Description Usage Arguments Value

View source: R/builtin_kernels_get_kernel.R

Description

Helper function that gets a kernel function for kdensity.

Usage

1
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.


kdensity documentation built on Oct. 23, 2020, 8:32 p.m.