Function implementing the scaled gaussian kernel.

gaussian_kernel_scaled(d, bw)

Arguments

d

The distance from the event

bw

The bandwidth used for the kernel

Value

The estimated density

Examples

#This is an internal function, no example provided