The markstat package provides a range of functions for computing
both global and local mark correlation functions for spatial point patterns
in either Euclidean spaces or on linear networks, with points carrying
either real-valued or function-valued marks.