Generate a random point pattern, a realisation of the Thomas cluster process, on a linear network.
rThomaslpp(kappa, scale, mu, L, ..., nsim=1, drop=TRUE)A point pattern on a network (object of class "lpp")
or a list of point patterns on the network.
Intensity of the Poisson process of cluster centres.
A single positive number, a function(x,y), or a pixel image
(object of class "im" or "linim").
Standard deviation of random displacement (along the network) of a point from its cluster centre.
Mean number of points per cluster (a single positive number) or reference intensity for the cluster points (a function or a pixel image).
Linear network (object of class "linnet")
on which the point pattern should be generated.
Arguments passed to rpoisppOnLines.
Number of simulated realisations to generate.
Logical value indicating what to do when nsim=1.
If drop=TRUE (the default), the result is a point pattern.
If drop=FALSE, the result is a list with one entry which is a
point pattern.
Greg McSwiggan and Adrian Baddeley Adrian.Baddeley@curtin.edu.au.
This function generates realisations of the Thomas cluster process on a linear network, described by Baddeley et al (2017).
Argument L can be omitted, and defaults to as.linnet(kappa),
when kappa is a function on a linear network (class
"linfun") or a pixel image on a linear network ("linim").
Baddeley, A., Nair, G., Rakshit, S. and McSwiggan, G. (2017) `Stationary' point processes are uncommon on linear networks. STAT 6 (1) 68--78.
Baddeley, A., Nair, G., Rakshit, S., McSwiggan, G. and Davies, T.M. (2021) Analysing point patterns on networks --- a review. Spatial Statistics 42, 100435, DOI 10.1016/j.spasta.2020.100435.
rpoislpp
plot(rThomaslpp(4, 0.07, 5, simplenet))
Run the code above in your browser using DataLab