ragsAreaInter(beta, eta, r, ..., win = NULL, bmax = NULL, periodic = FALSE, ncycles = 100)"im"), or a function(x,y).
AreaInter.
A number greater than 1.
beta if it is a function.
"owin".
(Ignored if beta is a pixel image.)
beta,
or a number larger than this.
"ppp").
AreaInter)
using the alternating Gibbs sampler (see rags). It exploits a mathematical relationship between the
(unmarked) area-interaction process and the two-type
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 area-interaction 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).
Widom, B. and Rowlinson, J.S. (1970). New model for the study of liquid-vapor phase transitions. The Journal of Chemical Physics 52 (1970) 1670--1684.
rags,
ragsMultiHard plot(ragsAreaInter(100, 2, 0.07, ncycles=15))
Run the code above in your browser using DataLab