corrfactor_simple: Simple NKDE border correction

Description Usage Arguments Value

View source: R/border_correction.R

Description

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

Usage

1
corrfactor_simple(graph, events, edges, bws)

Arguments

graph

The graph (igraph) used to calculate distances between nodes

events

The id of the vertex for each events

edges

A SpatialLinesDataFrame 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 Oct. 30, 2021, 5:06 p.m.