Tests where a point process model or point process interaction is a hybrid of several interactions.
is.hybrid(x)# S3 method for ppm
is.hybrid(x)
# S3 method for interact
is.hybrid(x)
TRUE
if the object is a hybrid, and FALSE
otherwise.
A point process model (object of class "ppm"
)
or a point process interaction structure
(object of class "interact"
).
Adrian Baddeley Adrian.Baddeley@curtin.edu.au and Rolf Turner rolfturner@posteo.net
A hybrid (Baddeley, Turner, Mateu and Bevan, 2012) is a point process model created by combining two or more point process models, or an interpoint interaction created by combining two or more interpoint interactions.
The function is.hybrid
is generic, with methods for
point process models (objects of class "ppm"
)
and point process interactions
(objects of class "interact"
).
These functions return TRUE
if the object x
is a hybrid,
and FALSE
if it is not a hybrid.
Hybrids of two or more interpoint interactions
are created by the function Hybrid
.
Such a hybrid interaction can then be fitted to point pattern data
using ppm
.
Baddeley, A., Turner, R., Mateu, J. and Bevan, A. (2013)
Hybrids of Gibbs point process models and their implementation.
Journal of Statistical Software 55:11, 1--43.
DOI: 10.18637/jss.v055.i11
Hybrid
S <- Strauss(0.1)
is.hybrid(S)
H <- Hybrid(Strauss(0.1), Geyer(0.2, 3))
is.hybrid(H)
fit <- ppm(redwood, ~1, H)
is.hybrid(fit)
Run the code above in your browser using DataLab