
Last chance! 50% off unlimited learning
Sale ends in
eem(fit, check=TRUE)
"ppm"
.fit
. If there is any possibility that this object
has been restored from a dump file, or has otherwise lost track of
the environment where it was originally computedfit
must be a fitted point process model
(object of class "ppm"
). Such objects are produced by the maximum
pseudolikelihood fitting algorithm ppm
).
This fitted model object contains complete
information about the original data pattern and the model that was
fitted to it. The value returned by eem
is the vector
of weights $m[i]$ associated with the points $x[i]$
of the original data pattern. The original data pattern
(in corresponding order) can be
extracted from fit
using data.ppm
.
The function diagnose.ppm
produces a set of sensible diagnostic plots based on these weights.
diagnose.ppm
,
ppm.object
,
data.ppm
,
residuals.ppm
,
ppm
data(cells)
fit <- ppm(cells, ~x, Strauss(r=0.15))
ee <- eem(fit)
sum(ee)/area.owin(cells$window) # should be about 1 if model is correct
Y <- setmarks(cells, ee)
plot(Y, main="Cells data
Exponential energy marks")
Run the code above in your browser using DataLab