Learn R Programming

spNetwork (version 0.2.1)

triweight_kernel_cpp: c++ triweight kernel

Description

c++ triweight kernel

Usage

triweight_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