intensitysph | R Documentation |
A function for computing the intensity of a spatial dataset or spatial point process model, under the assumption of homogeneity.
intensitysph(X, win, ...)
X |
The locations of the points in the point pattern. An object of
class |
win |
The window. An object of type |
... |
Extra information. Not used now, but probably needed when I expand this to other point processes |
Estimates the intensity by dividing the number of points in X
by the area of win
.
A numeric.
This function is the analogue for point processes on the sphere of the
function intensity
in spatstat, which is
the corresponding function for point processes in R^2. Hence elements
of this help page have been taken from intensity
with the
permission of A. J. Baddeley. This enables the information on this help
page to be consistent with that for intensity
. It is
hoped that this will minimise or remove any confusion for users of both
spatstat and spherstat.
Tom Lawrence <email:tjlawrence@bigpond.com>
rpoispp.sphwin
sph <- sphwin(type="sphere") rps <- rpoispp.sphwin(win=sph, lambda=10) intensitysph(X=rps, win=sph)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.