rmhexpand(x = NULL, ..., area = NULL, length = NULL, distance = NULL)
"owin"
) specifying the
simulation window, a numerical value specifying an expansion
factor or expansion distance, a list conta"rmhexpand"
specifying the
expansion rule. There is a print
method for this class.expand=NULL
, this is interpreted to mean that the
expansion rule is rmh
.
If the model cannot be expanded (for example if the covariate data
in the model are not available on a larger domain) then expansion
will not occur. If the model can be expanded, then
if the point process model has a finite interaction range r
,
the default is rmhexpand(distance=2*r)
, and
otherwise rmhexpand(area=2)
.rmh
for simulating spatial point processes,
simulations are usually carried out on a spatial domain that is
larger than the original window of the point process model,
then subsequently clipped to the original window. The command rmhexpand
can be used to specify the simulation window,
or to specify a rule which will later be used to determine the
simulation window from data.
The arguments are all incompatible: at most one of them should be given.
If the first argument x
is given, it may be any of the
following:
"owin"
) specifying the
simulation window."rmhexpand"
specifying the
expansion rule.area
.c(area=v)
orlist(area=v)
,
wherev
is a single numeric value.
This will be interpreted as the value of the argumentarea
.c(length=v)
orlist(length=v)
,
wherev
is a single numeric value.
This will be interpreted as the value of the argumentlength
.c(distance=v)
orlist(distance=v)
,
wherev
is a single numeric value.
This will be interpreted as the value of the argumentdistance
.NULL
, meaning that the expansion rule is not yet
determined. If one of the arguments area
, length
or distance
is given, then the simulation window is determined from the original
data window as follows.
[object Object],[object Object],[object Object]
expand.owin
to apply the rule to a window. will.expand
to test whether expansion will occur.
rmh
, rmhcontrol
for background details.
rmhexpand()
rmhexpand(2)
rmhexpand(1)
rmhexpand(length=1.5)
rmhexpand(distance=0.1)
rmhexpand(letterR)
Run the code above in your browser using DataLab