Learn R Programming

stlnpp (version 0.3.8)

STLKinhom: Inhomogeneous K-function for spatio-temporal point processes on linear networks

Description

Inhomogeneous K-function for spatio-temporal point processes on linear networks

Usage

STLKinhom(X,lambda=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.

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 K-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, STLginhom

Examples

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

Run the code above in your browser using DataLab