Learn R Programming

spNetwork (version 0.4.4.6)

cosine_kernel: Cosine kernel

Description

Function implementing the cosine kernel.

Usage

cosine_kernel(d, bw)

Value

The estimated density

Arguments

d

The distance from the event

bw

The bandwidth used for the kernel

Examples

Run this code
#This is an internal function, no example provided

Run the code above in your browser using DataLab