fitin(object)
## S3 method for class 'ppm':
fitin(object)
"ppm"
)."fii"
representing the fitted
interpoint interaction. This object can be printed and plotted."ppm"
describes a fitted point process
model. It contains information about the original data to which the
model was fitted, the spatial trend that was fitted, the
interpoint interaction that was fitted, and other data.
See ppm.object
) for details of this class. The function fitin
extracts from this model the information about the
fitted interpoint interaction only.
The information is organised as an object of class "fii"
(fitted interpoint interaction).
This object can be printed or plotted.
Users may find this a convenient way to plot the fitted interpoint interaction term, as shown in the Examples.
ppm
,
ppm.object
,data(betacells)
# unmarked
X <- unmark(betacells)
model <- ppm(X, ~1, PairPiece(seq(10,100,by=10)))
f <- fitin(model)
f
plot(f)
# marked
# fit the stationary multitype Strauss process to `betacells'
r <- 30.0 * matrix(c(1,2,2,1), nrow=2,ncol=2)
model <- ppm(betacells, ~1, MultiStrauss(c("off","on"), r))
f <- fitin(model)
f
plot(f)
Run the code above in your browser using DataLab