rMaternI(kappa, r, win = owin(c(0,1),c(0,1)), stationary=TRUE, ...,
nsim=1, drop=TRUE)"owin"
or something acceptable to as.owin.
Alternatively a higher-dimensional box of class
"box3" or stationary=TRUE) or to generate the
proposal points only inside the window (stationary=FALSE).nsim=1 and drop=TRUE (the default), the
result will be a point pattern, rather than a list
containing a point pattern.nsim=1, or a list of point patterns if nsim > 1.
Each point pattern is normally an object of class "ppp",
but may be of class "pp3" or "ppx" depending on the window.win. The process is constructed by first
generating a uniform Poisson point process of ``proposal'' points
with intensity kappa. If stationary = TRUE (the
default), the proposal points are generated in a window larger than
win that effectively means the proposals are stationary.
If stationary=FALSE then the proposal points are
only generated inside the window win.
A proposal point is then deleted if it lies within r units' distance
of another proposal point. Otherwise it is retained.
The retained points constitute
rpoispp,
rMatClustX <- rMaternI(20, 0.05)
Y <- rMaternI(20, 0.05, stationary=FALSE)Run the code above in your browser using DataLab