rpoistlpp | R Documentation |
simulating a realisation of a spatio-temporal poisson point process on a linear network.
rpoistlpp(lambda,a,b,L,check=FALSE,lmax=NULL,nsim=1)
lambda |
intensity of the point process. It can be either a number, function of location and time, or an abject of class |
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 |
lmax |
upper bound for the values of labmda. This is optinal. |
nsim |
number of simulated patterns to generate. |
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.
an object of class stlpp
if nsim=1, otherwise a list of objects of class stlpp
.
Mehdi Moradi <m2.moradi@yahoo.com>
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.
density.stlpp
X <- rpoistlpp(.2,a=0,b=5,L=easynet) X
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.