rmhexpand(spatstat)
rmhexpand()所属R语言包:spatstat
Specify Simulation Window or Expansion Rule
指定的模拟窗口或扩展规则
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Specify a spatial domain in which point process simulations will be performed. Alternatively, specify a rule which will be used to determine the simulation window.
指定点过程中,将进行模拟空间域。或者,也可以指定一个规则,这将被用于确定在模拟窗口。
用法----------Usage----------
rmhexpand(x = NULL, ..., area = NULL, length = NULL, distance = NULL)
参数----------Arguments----------
参数:x
Any kind of data determining the simulation window or the expansion rule. A window (object of class "owin") specifying the simulation window, a numerical value specifying an expansion factor or expansion distance, a list containing one numerical value, an object of class "rmhexpand", or NULL.
任何类型的数据,确定模拟窗口或扩展规则。 (类"owin")指定的模拟窗口,数值指定的膨胀系数或扩展距离,一个列表,其中包含一个数值,一个类的对象"rmhexpand"或NULL对象的一个窗口, 。
参数:...
Ignored.
忽略。
参数:area
Area expansion factor. Incompatible with other arguments.
面积扩大的因素。与其他参数不兼容。
参数:length
Length expansion factor. Incompatible with other arguments.
长度膨胀系数。与其他参数不兼容。
参数:distance
Expansion distance (buffer width). Incompatible with other arguments.
扩展距离(缓冲宽度)。与其他参数不兼容。
Details
详细信息----------Details----------
In the Metropolis-Hastings algorithm 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.
的Metropolis-Hastings算法rmh空间点过程的模拟,模拟通常会进行空间域是大于原来的窗口点过程模型,然后再裁剪到原来的窗口。
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.
命令rmhexpand可以用来指定模拟窗口,或指定一个规则,稍后将被用来确定数据的仿真窗口。
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:
如果第一个参数x是,它可以是以下的任何:
a window (object of class "owin") specifying the simulation window.
指定的模拟窗口一个窗口(对象的类"owin")。
an object of class "rmhexpand" specifying the expansion rule.
一个对象的类"rmhexpand"指定的扩展规则。
a single numerical value, without attributes. This will be interpreted as the value of the argument area.
一个单一的数值,没有的属性。这将解释的值参数area。
either c(area=v) or list(area=v), where v is a single numeric value. This will be interpreted as the value of the argument area.
是c(area=v)或list(area=v),其中v是一个单一的数值。这将解释的值参数area。
either c(length=v) or list(length=v), where v is a single numeric value. This will be interpreted as the value of the argument length.
是c(length=v)或list(length=v),其中v是一个单一的数值。这将解释的值参数length。
either c(distance=v) or list(distance=v), where v is a single numeric value. This will be interpreted as the value of the argument distance.
是c(distance=v)或list(distance=v),其中v是一个单一的数值。这将解释的值参数distance。
NULL, meaning that the expansion rule is not yet determined.
NULL,这意味着扩展规则尚未确定。
If one of the arguments area, length or distance is given, then the simulation window is determined from the original data window as follows.
如果其中一个参数area,length或distance,然后模拟窗口的确定从原始数据窗口如下。
The bounding box of the original data window will be extracted, and the simulation window will be a scalar dilation of this rectangle. The argument area should be a numerical value, greater than or equal to 1. It specifies the area expansion factor, i.e. the ratio of the area of the simulation window to the area of the original point process window's bounding box.
将提取的原始数据窗口的边界框,并模拟窗口将这个矩形是一个标量的扩张。参数area应该是一个数值,大于或等于1。它指定的区域扩展系数,即仿真窗口的面积的比率的面积的原始点的工艺窗口的边界框。
The bounding box of the original data window will be extracted, and the simulation window will be a scalar dilation of this rectangle. The argument length should be a numerical value, greater than or equal to 1. It specifies the length expansion factor, i.e. the ratio of the width (height) of the simulation window to the width (height) of the original point process window's bounding box.
将提取的原始数据窗口的边界框,并模拟窗口将这个矩形是一个标量的扩张。参数length应该是一个数值,大于或等于1。它指定的长度扩展系数,即仿真窗口的原始点的工艺窗口的边界框的宽度(高度)的宽度(高度)的比值。
The argument distance should be a numerical value, greater than or equal to 0. It specifies the width of a buffer region around the original data window. If the original data window is a rectangle, then this window is extended by a margin of width equal to distance around all sides of the original rectangle. The result is a rectangle. If the original data window is not a rectangle, then morphological dilation is applied using dilation.owin so that a margin or buffer of width equal to distance is created around all sides of the original window. The result is a non-rectangular window, typically of a different shape.
参数distance应该是一个数值,大于或等于0。它指定“原始数据”窗口周围的缓冲区域的宽度。如果原始数据窗口是一个矩形,那么这个窗口延伸的余量宽度等于distance围绕原始矩形的所有侧面。其结果是一个矩形。如果原始数据窗口是不是一个矩形,然后采用形态膨胀的dilation.owin所以保证金或缓冲区的宽度等于distance周围建立双方原来的窗口。其结果是一个非矩形的窗口,通常的不同的形状。
值----------Value----------
An object of class "rmhexpand" specifying the expansion rule. There is a print method for this class.
对象的类"rmhexpand"指定的扩展规则。有一个print这个类的方法。
未确定扩张----------Undetermined expansion----------
If expand=NULL, this is interpreted to mean that the expansion rule is “not yet decided”. Expansion will be decided later, by the simulation algorithm 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).
如果expand=NULL,这是解释的扩展规则“尚未决定”。扩展将决定后,由算法的仿真rmh。如果模型不能扩展(例如,如果在模型中的协变量数据上没有一个较大的域),然后扩展将不会发生。如果该模型可以扩展点过程模型,然后如果有一个有限的互动范围r,默认是rmhexpand(distance=2*r),否则rmhexpand(area=2)。
(作者)----------Author(s)----------
Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
and Rolf Turner
<a href="mailto:r.turner@auckland.ac.nz">r.turner@auckland.ac.nz</a>
参见----------See Also----------
expand.owin to apply the rule to a window.
expand.owin应用该规则的一个窗口。
will.expand to test whether expansion will occur.
will.expand扩展,以测试是否会发生。
rmh, rmhcontrol for background details.
rmh,rmhcontrol背景细节。
实例----------Examples----------
rmhexpand()
rmhexpand(2)
rmhexpand(1)
rmhexpand(length=1.5)
rmhexpand(distance=0.1)
rmhexpand(letterR)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|