View source: R/rMatClust.sphwin.R
rMatClust.sphwin | R Documentation |
Generate a random point pattern, a simulated realisation of the analogue of the Matern Cluster Process on the sphere.
rMatClust.sphwin(kappa, scale, mu, win=sphwin(type="sphere"), parents=FALSE, nsim=1, drop=TRUE, expand=TRUE, as.sp=TRUE, ndim="2")
kappa |
Intensity of the Poisson process of cluster centres. A single positive number. |
scale |
Radius parameter of the clusters. |
mu |
Mean number of points per cluster (a single positive number) |
win |
Window in which to simulate the pattern. An object of class |
parents |
Logical. If |
nsim |
Number of simulated realisations to be generated. |
drop |
Logical. If |
expand |
Logical. If |
as.sp |
Logical. If TRUE, returns an object of class as defined by
|
ndim |
A string, taking value |
This algorithm generates a realisation of the analogue on the sphere of
Matern's cluster process, a special case of the Neyman-Scott process,
inside the window win
.
This algorithm generates a uniform Poisson point process of “parent”
points with intensity kappa
. Then each parent point is replaced
by a random cluster of “offspring” points, the number of points per
cluster being Poisson (mu
) distributed, and their positions
being placed and uniformly inside a disc of radius r
centred on
the parent point. The resulting point pattern is a realisation of the
classical “stationary Matern cluster process” generated inside the
window win
. This point process has intensity kappa * mu
.
If nsim=1
and drop=FALSE
then a single item as described below; otherwise a list containing nsim
items.
An item is determined by the values of as.sp
and ndim
:
If as.sp=FALSE
and ndim="2"
, a two column matrix giving the locations of the simulated points.
If as.sp=FALSE
and ndim="3"
, a three column matrix giving the locations of the simulated points.
If as.sp=TRUE
and ndim="2"
, an object of class sp2
giving the locations of the simulated points.
If as.sp=TRUE
and ndim="3"
, an object of class sp3
giving the locations of the simulated points.
This function is the analogue for point processes on the sphere of the
function rMatClust
in spatstat, which is the
corresponding function for point processes in R^2. Hence elements of
this help page have been taken from that for spatstat with
the permission of A. J. Baddeley. This enables the information on this
help page to be consistent with that for
rMatClust
. It is hoped that this will
minimise or remove any confusion for users of both
spatstat and spherstat.
Tom Lawrence <email:tjlawrence@bigpond.com> and Adrian Baddeley
Lawrence, T.J. (2017) Master's Thesis, University of Western Australia.
Matern, B. (1960) Spatial Variation. Meddelanden fraan Statens Skogsforskningsinstitut, volume 59, number 5. Statens Skogsforskningsinstitut, Sweden.
Matern, B. (1986) Spatial Variation. Lecture Notes in Statistics 36, Springer-Verlag, New York.
Waagepetersen, R. (2007) An estimating function approach to inference for inhomogeneous Neyman-Scott processes. Biometrics 63, 252–258.
rHardcore.sphwin
, rMatClust
,
rMaternI.sphwin
, rMaternII.sphwin
,
rpoispp.sphwin
, rStrauss.sphwin
,
rThomas.sphwin
rM1 <- rMatClust.sphwin(250, 0.04*pi, 5, win=sphwin(), parents=FALSE) rM1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.