## S3 method for class 'ppm':
intensity(X, ...)
"ppm"
).predict.ppm
in some cases.
See Details.intensity
for fitted point process models (class "ppm"
).The intensity of a point process model is the expected number of random points per unit area.
If X
is a Poisson point process model, the intensity of the
process is computed exactly.
The result is a numerical value if X
is a stationary Poisson point process, and a pixel image if X
is non-stationary. (In the latter case, the resolution of the pixel
image is controlled by the arguments ...
which are passed
to predict.ppm
.)
If X
is another Gibbs point process model, the intensity is
computed approximately using the Poisson-saddlepoint approximation
(Baddeley and Nair, 2012). Currently this is implemented only for
pairwise interactions.
intensity
,
intensity.ppp
fitP <- ppm(swedishpines, ~1, Poisson())
intensity(fitP)
fitS <- ppm(swedishpines, ~1, Strauss(9))
intensity(fitS)
Run the code above in your browser using DataLab