Hardcore(hc)
"interact"
describing the interpoint interaction
structure of the hard core
process with hard core distance hc
. The probability density is zero if any pair of points
is closer than $h$ units apart, and otherwise equals
The function ppm()
, which fits point process models to
point pattern data, requires an argument
of class "interact"
describing the interpoint interaction
structure of the model to be fitted.
The appropriate description of the hard core process
pairwise interaction is
yielded by the function Hardcore()
. See the examples below.
Ripley, B.D. (1981) Spatial statistics. John Wiley and Sons.
StraussHard
,
ppm
,
pairwise.family
,
ppm.object
Hardcore(0.02)
# prints a sensible description of itself
data(cells)
ppm(cells, ~1, Hardcore(0.05))
# fit the stationary hard core process to `cells'
ppm(cells, ~ polynom(x,y,3), Hardcore(0.05))
# fit a nonstationary Strauss/hard core process
# with log-cubic polynomial trend
Run the code above in your browser using DataLab