ess_kernel: Worker for simple NKDE algorithm

View source: R/kernel_functions_sf.R

ess_kernelR Documentation

Worker for simple NKDE algorithm

Description

The worker function to perform the simple nkde.

Usage

ess_kernel(graph, y, bw, kernel_func, ok_samples, nodes, ok_edges, N)

Arguments

graph

a graph object from igraph representing the network

y

the index of the actual event

bw

a float indicating the kernel bandwidth (in meters)

kernel_func

a function obtained with the function select_kernel

ok_samples

a a feature collection of points representing the sampling points. The samples must be snapped on the network. A column edge_id must indicate for each sample on which edge it is snapped.

nodes

a a feature collection of points representing the nodes of the network

ok_edges

a a feature collection of linestrings representing the edges of the network

Examples

#This is an internal function, no example provided

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