corrfactor_simple: Simple NKDE border correction

View source: R/border_correction_sf.R

corrfactor_simpleR Documentation

Simple NKDE border correction

Description

A function to calculate the Diggle correction factor with the simple NKDE.

Usage

corrfactor_simple(graph, events, edges, bws)

Arguments

graph

The graph (igraph) used to calculate distances between nodes

events

A feature collection of points representing the events

edges

A feature collection of lines representing the edges of the graph

bws

A vector of the bandwidths for each event

Value

A numeric vector with the correction factor values


spNetwork documentation built on Aug. 24, 2023, 5:10 p.m.