cosine_kernel: Cosine kernel

View source: R/kernel_functions_sf.R

cosine_kernelR Documentation

Cosine kernel

Description

Function implementing the cosine kernel.

Usage

cosine_kernel(d, bw)

Arguments

d

The distance from the event

bw

The bandwidth used for the kernel

Value

The estimated density

Examples

#This is an internal function, no example provided

JeremyGelb/spNetwork documentation built on Jan. 18, 2025, 3:44 p.m.