"fitted"(object, ..., type = "lambda", dataonly = FALSE)
"mppm"
obtained from mppm
.
"trend"
for the spatial trend,
or "lambda"
or "cif"
for the conditional intensity.
TRUE
, fitted values are computed only for the points
of the data point patterns. If FALSE
, fitted values are
computed for the points of the quadrature schemes used to fit the
model.
type="trend"
) the fitted spatial trend.Entries in these vector correspond to the quadrature points (data
or dummy points) used to fit the model. The quadrature points can
be extracted from object
by quad.mppm(object)
.
The locations $u$ at which the fitted conditional intensity/trend is
evaluated, are the points of the quadrature schemes used to fit the
model in mppm
. They include the data points (the points of the
original point pattern datasets) and other ``dummy'' points in
the window of observation.
Use predict.mppm
to compute the fitted conditional intensity at
other locations or with other values of the explanatory variables.
mppm
,
predict.mppm
model <- mppm(Bugs ~ x, data=hyperframe(Bugs=waterstriders),
interaction=Strauss(7))
cifs <- fitted(model)
Run the code above in your browser using DataLab