Learn R Programming

spNetwork (version 0.4.4.6)

gaussian_kernel_cpp: c++ gaussian kernel

Description

c++ gaussian kernel

Usage

gaussian_kernel_cpp(d, bw)

Arguments

d

a vector of distances for which the density must be calculated

bw

a double representing the size of the kernel bandwidth