rThomaslpp | R Documentation |
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)
kappa |
Intensity of the Poisson process of cluster centres.
A single positive number, a |
scale |
Standard deviation of random displacement (along the network) of a point from its cluster centre. |
mu |
Mean number of points per cluster (a single positive number) or reference intensity for the cluster points (a function or a pixel image). |
L |
Linear network (object of class |
... |
Arguments passed to |
nsim |
Number of simulated realisations to generate. |
drop |
Logical value indicating what to do when |
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"
).
A point pattern on a network (object of class "lpp"
)
or a list of point patterns on the network.
Greg McSwiggan and \adrian.
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.