Triplets(r)
"interact"
describing the interpoint interaction
structure of the Triplets process with interaction radius $r$. Thus the probability density is
The interaction parameter $\gamma$ must be less than
or equal to $1$
so that this model describes an ``ordered'' or ``inhibitive'' pattern.
The nonstationary Triplets process is similar except that
the contribution of each individual point $x_i$
is a function $\beta(x_i)$
of location, rather than a constant beta.
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 Triplets process pairwise interaction is
yielded by the function Triplets()
. See the examples below.
Note the only argument is the interaction radius r
.
When r
is fixed, the model becomes an exponential family.
The canonical parameters $\log(\beta)$
and $\log(\gamma)$
are estimated by ppm()
, not fixed in
Triplets()
.
ppm
,
triplet.family
,
ppm.object
Triplets(r=0.1)
# prints a sensible description of itself
ppm(cells, ~1, Triplets(r=0.2))
# fit the stationary Triplets process to `cells'
ppm(cells, ~polynom(x,y,3), Triplets(r=0.2))
# fit a nonstationary Triplets process with log-cubic polynomial trend
Run the code above in your browser using DataLab