View source: R/border_correction_sf.R
corrfactor_simple | R Documentation |
A function to calculate the Diggle correction factor with the simple NKDE.
corrfactor_simple(graph, events, edges, bws)
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 |
A numeric vector with the correction factor values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.