Skip to content
naulon

No noticeNo retraction, correction or concern found when last checked on Dec 5, 2026.

Efficient Code for Second Order Analysis of Events on a Linear Network

Suman Rakshit, Adrian Baddeley, Gopalan Nair

Journal of Statistical Software · 2019

doi:10.18637/jss.v090.i01 (opens in a new tab)

We email you when a new notice or a question about this paper appears.

Abstract

We describe efficient algorithms and open-source code for the second-order statistical analysis of point events on a linear network. Typical summary statistics are adaptations of Ripley's K-function and the pair correlation function to the case of a linear network, with distance measured by the shortest path in the network. Simple implementations consume substantial time and memory. For an efficient implementation, the data structure representing the network must be economical in its use of memory, but must also enable rapid searches to be made. We have developed such an efficient implementation in C with an R interface written as an extension to the R package spatstat. The algorithms handle realistic large networks, as we demonstrate using a database of all road accidents recorded in Western Australia.

Abstract licence: CC BY

Reads

Read by people on this page

None yet.

Checked or read by AI through naulon

None yet.

A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.

Are you an author?

Is this your paper?

Claim it to add your note and be paid when agents cite it. Free.