Learn R Programming

stlnpp (version 0.4.0)

STLg: Pair correlation function for spatio-temporal point processes on linear networks

Description

This function computes the pair correlation function for spatio-temporal point patterns on linear networks.

Usage

STLg(X,r=NULL,t=NULL,nxy=10)

Value

An object of class sumstlpp.

Arguments

X

a spatio-temporal point pattern of class stlpp

r

values of argument r where pair correlation function will be evaluated. optional

t

values of argument t where pair correlation function will be evaluated. optional

nxy

pixel array dimensions. optional

Author

Mehdi Moradi <m2.moradi@yahoo.com>

Details

This function calculates the pair correlation function for a homogeneous spatio-temporal point patterns on a linear network.

References

Moradi, M., & Mateu, J. (2020). First-and second-order characteristics of spatio-temporal point processes on linear networks. Journal of Computational and Graphical Statistics, 29(3), 432-443.

See Also

pcf, STLK

Examples

Run this code
X <- rpoistlpp(.2,a=0,b=5,L=easynet)
g <- STLg(X)
plot(g)

Run the code above in your browser using DataLab