Learn R Programming

stlnpp (version 0.4.0)

STLginhom: Inhomogeneous pair correlation function for spatio-temporal point processes on linear networks

Description

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

Usage

STLginhom(X,lambda,normalize=FALSE,r=NULL,t=NULL,nxy=10)

Value

An object of class sumstlpp.

Arguments

X

a spatio-temporal point pattern of class stlpp

lambda

values of estimated intensity at data points

normalize

normalization factor to be considered

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 inhomogeneous pair correlation function for a 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

STLg, STLK, STLKinhom

Examples

Run this code
X <- rpoistlpp(.2,a=0,b=5,L=easynet)
d <- density(X,at="points")
g <- STLginhom(X,lambda=d,normalize=TRUE)
plot(g)


Run the code above in your browser using DataLab