Learn R Programming

stlnpp (version 0.3.8)

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

Description

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

Usage

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

Value

An object of class sumstlpp.

Arguments

X

a realisation of a spatio-temporal point processes on a linear networks.

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 processes on a linear network.

References

Moradi, M.M. and Mateu, J. (2019). First and second-order characteristics of spatio-temporal point processes on linear networks. Journal of Computational and Graphical Statistics. In press.

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