as.interact | R Documentation |
Extracts the interpoint interaction structure from a point pattern model.
as.interact(object) ## S3 method for class 'fii' as.interact(object) ## S3 method for class 'interact' as.interact(object) ## S3 method for class 'ppm' as.interact(object)
object |
A fitted point process model (object of class
|
The function as.interact
extracts
the interpoint interaction structure from a suitable object.
An object of class "interact"
describes an interpoint
interaction structure, before it has been fitted to point pattern
data. The irregular parameters of the interaction (such as the
interaction range) are fixed, but the regular parameters
(such as interaction strength) are undetermined.
Objects of this class are created by the functions
Poisson
, Strauss
and so on.
The main use of such objects is in a call to ppm
.
The function as.interact
is generic, with methods for the classes
"ppm"
, "fii"
and "interact"
.
The result is an object of class "interact"
which can be printed.
An object of class "interact"
representing the
interpoint interaction. This object can be printed and plotted.
This function does not extract the fitted coefficients
of the interaction. To extract the fitted interaction including
the fitted coefficients, use fitin
.
and \rolf
fitin
,
ppm
.
data(cells) model <- ppm(cells, ~1, Strauss(0.07)) f <- as.interact(model) f
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.