normkern: Generalized Gaussian kernel

Description Usage Arguments Details Value Author(s)

View source: R/kernels.R

Description

The un-normalized Gaussian kernel function: exp(-(abs(x/bw))^delta)/bw

Usage

1
normkern(x, bw = 1, delta = 2L)

Arguments

x

places to evaluate kernel

bw

bandwidth values

delta

shape parameter for kernel

Details

The bandwidth parameter may be used in any way that makes sense in the above R expression. In particular, it may be a single value, for a constant bandwidth, or a vector, with each element corresponding the bandwidth of the kernel to be placed at each respective observation.

Value

an object of the same type as x with the kernel evaluations

Author(s)

Grady Weyenberg


kdetrees documentation built on May 1, 2019, 9:35 p.m.