Learn R Programming

spNetwork (version 0.2.1)

epanechnikov_kernel_cpp: c++ epanechnikov kernel

Description

c++ epanechnikov kernel

Usage

epanechnikov_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