Learn R Programming

spNetwork (version 0.4.4.6)

cosine_kernelos: c++ cosine kernel for one distance

Description

c++ cosine kernel for one distance

Usage

cosine_kernelos(d, bw)

Arguments

d

a double, the distances for which the density must be calculated

bw

a double representing the size of the kernel bandwidth