normkern: Generalized Gaussian kernel

Description Usage Arguments Details Value Author(s)

Description

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

Usage

1
normkern(x, bw = 1, bhv.c = NULL, delta = 2L)

Arguments

x

places to evaluate kernel

bw

bandwidth values

bhv.c

vector of kernel constants

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


grady/kdetrees documentation built on May 17, 2019, 8:01 a.m.