Description Usage Arguments Details Value Author(s) References See Also Examples
Generate a realisation of the areainteraction process using the alternating Gibbs sampler. Applies only when the interaction parameter eta is greater than 1.
1 2 
beta 
First order trend. A number, a pixel image (object of class

eta 
Interaction parameter (canonical form) as described in
the help for 
r 
Disc radius in the model. A number greater than 1. 
... 
Additional arguments for 
win 
Simulation window. An object of class 
bmax 
Optional. The maximum possible value of 
periodic 
Logical value indicating whether to treat opposite sides of the simulation window as being the same, so that points close to one side may interact with points close to the opposite side. Feasible only when the window is a rectangle. 
ncycles 
Number of cycles of the alternating Gibbs sampler to be performed. 
This function generates a simulated realisation of the
areainteraction process (see AreaInter
)
using the alternating Gibbs sampler (see rags
).
It exploits a mathematical relationship between the
(unmarked) areainteraction process and the twotype
hard core process (Baddeley and Van Lieshout, 1995;
Widom and Rowlinson, 1970). This relationship only holds
when the interaction parameter eta
is greater than 1
so that the areainteraction process is clustered.
The parameters beta,eta
are the canonical parameters described
in the help for AreaInter
.
The first order trend beta
may be a constant, a function,
or a pixel image.
The simulation window is determined by beta
if it is a pixel
image, and otherwise by the argument win
(the default is the
unit square).
A point pattern (object of class "ppp"
).
.
Baddeley, A.J. and Van Lieshout, M.N.M. (1995). Areainteraction point processes. Annals of the Institute of Statistical Mathematics 47 (1995) 601–619.
Widom, B. and Rowlinson, J.S. (1970). New model for the study of liquidvapor phase transitions. The Journal of Chemical Physics 52 (1970) 1670–1684.
1  plot(ragsAreaInter(100, 2, 0.07, ncycles=15))

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.