sim.stpp {stpp} | R Documentation |
Generate spatio-temporal point patterns
Description
Generate one (or several) realisation(s) of a spatio-temporal point process in a region S\times T
.
Usage
sim.stpp(class="poisson", s.region, t.region, npoints=NULL,
nsim=1, ...)
Arguments
class |
Must be chosen among "poisson", "cluster", "cox", "infectious" and "inhibition". |
s.region |
Two-column matrix specifying polygonal region containing
all data locations.
If |
t.region |
Vector containing the minimum and maximum values of
the time interval.
If |
npoints |
Number of points to simulate. |
nsim |
Number of simulations to generate. Default is 1. |
... |
Additional parameters related to the |
Value
A list containing:
xyt |
Matrix (or list of matrices if |
s.region , t.region |
Parameters passed in argument. |
Author(s)
Edith Gabriel <edith.gabriel@inrae.fr>
See Also
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.