rpoistlpp {stlnpp}R Documentation

Simulating spatio-temporal Poisson point processes on a linear network

Description

This function simulates realisations of a spatio-temporal Poisson point process on a linear network.

Usage

rpoistlpp(lambda,a,b,L,check=FALSE,lmax=NULL,nsim=1)

Arguments

lambda

intensity of the point process. it can be either a number, function of location and time, or an abject of class stlppint

a

lower bound of time period

b

upper bound of time period

L

a linear network

check

logical value indicating whether to check that all the (x,y) points lie inside the specified window. see ppp

lmax

upper bound for the values of labmda. this is optional

nsim

number of simulated patterns to generate

Details

This function generates realisations of a spatio-temporal poisson point process on a linear network based on an intensity function lambda and lower/upper bounds a and b.

Value

an object of class stlpp if nsim=1, otherwise a list of objects of class stlpp.

Author(s)

Mehdi Moradi <m2.moradi@yahoo.com>

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

density.stlpp

Examples

 
X <- rpoistlpp(0.2,a=0,b=5,L=easynet)
X


[Package stlnpp version 0.4.0 Index]