Generate one (or several) realisation(s) of a spatio-temporal point process in a region \(S\times T\).
sim.stpp(class="poisson", s.region, t.region, npoints=NULL,
nsim=1, ...)
Must be chosen among "poisson", "cluster", "cox", "infectious" and "inhibition".
Two-column matrix specifying polygonal region containing
all data locations.
If s.region
is missing, the unit square is considered.
Vector containing the minimum and maximum values of
the time interval.
If t.region
is missing, the interval \([0,1]\) is considered.
Number of points to simulate.
Number of simulations to generate. Default is 1.
A list containing:
Matrix (or list of matrices if nsim
>1)
containing the points \((x,y,t)\) of the simulated point pattern.
xyt
(or any element of the list if nsim
>1) is an object
of the class stpp
.
Parameters passed in argument.
rpp
, rinfec
, rinter
,
rpcp
and rlgcp
for the simulation of
Poisson, infectious, interaction, Poisson cluster and log-gaussian
Cox processes respectively; and plot.stpp
,
animation
and stan
for plotting space-time
point patterns.