dirichlet.weights(spatstat)
dirichlet.weights()所属R语言包:spatstat
Compute Quadrature Weights Based on Dirichlet Tessellation
计算正交权重上的Dirichlet Tessellation(曲面细分)
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes quadrature weights for a given set of points, using the areas of tiles in the Dirichlet tessellation.
计算正交的权重的一组给定的点,使用的领域中的瓦片的Dirichlet镶嵌。
用法----------Usage----------
dirichlet.weights(X, window=NULL, exact=TRUE, ...)
参数----------Arguments----------
参数:X
Data defining a point pattern.
数据定义一个点的模式。
参数:window
Default window for the point pattern
点模式的默认窗口
参数:exact
Logical value. If TRUE, compute exact areas using the package deldir. If FALSE, compute approximate areas using a pixel raster.
逻辑值。如果TRUE,精确计算领域使用的包deldir。如果FALSE,像素栅格计算近似的区域使用。
参数:...
Ignored.
忽略。
Details
详细信息----------Details----------
This function computes a set of quadrature weights for a given pattern of points (typically comprising both “data” and 'dummy” points). See quad.object for an explanation of quadrature weights and quadrature schemes.
该函数计算的一组正交的权重,对于一个给定的图案的点(通常包括“数据”和“伪”点)。见quad.object的解释正交权和正交的计划。
The weights are computed using the Dirichlet tessellation. First X and (optionally) window are converted into a point pattern object. Then the Dirichlet tessellation of the points of X is computed. The weight attached to a point of X is the area of its Dirichlet tile (inside the window X$window).
权重计算使用狄利克雷Tessellation(曲面细分)。第一个X和(可选的)window被转换成点模式对象。的Dirichlet镶嵌的点X计算。重量连接点X的是其狄氏瓦(窗口X$window内的区域)。
If exact=TRUE the Dirichlet tessellation is computed exactly by the Lee-Schachter algorithm using the package deldir. Otherwise a pixel raster approximation is constructed and the areas are approximations to the true weights. In all cases the sum of the weights is equal to the area of the window.
如果exact=TRUE的Dirichlet镶嵌的精确计算通过使用包deldir李沙克特算法。否则,像素光栅近似的结构和面积均为约数的真实重量。在所有的情况下的权重的总和是相等的窗口区域。
值----------Value----------
Vector of nonnegative weights for each point in X.
非负的权重向量中的每个点X。
(作者)----------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----------
quad.object, gridweights
quad.object,gridweights
实例----------Examples----------
Q <- quadscheme(runifpoispp(10))
X <- as.ppp(Q) # data and dummy points together[数据和虚拟点]
w <- dirichlet.weights(X, exact=FALSE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|