gridweights(spatstat)
gridweights()所属R语言包:spatstat
Compute Quadrature Weights Based on Grid Counts
基于网格计数的权重计算正交
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes quadrature weights for a given set of points, using the “counting weights” for a grid of rectangular tiles.
计算正交的权重的一组给定的点,使用的“计数的权重”为一个网格的矩形砖。
用法----------Usage----------
gridweights(X, ntile, ..., window=NULL, verbose=FALSE, npix=NULL, areas=NULL)
参数----------Arguments----------
参数:X
Data defining a point pattern.
数据定义一个点的模式。
参数:ntile
Number of tiles in each row and column of the rectangular grid. An integer vector of length 1 or 2.
在每一行和列的矩形网格中的瓦片数。的矢量的长度为1或2的整数。
参数:...
Ignored.
忽略。
参数:window
Default window for the point pattern
点模式的默认窗口
参数:verbose
Logical flag. If TRUE, information will be printed about the computation of the grid weights.
逻辑标志。如果TRUE,信息将被打印的网格权重计算。
参数:npix
Dimensions of pixel grid to use when computing a digital approximation to the tile areas.
计算时使用的数字近似的瓷砖领域的像素网格的尺寸。
参数:areas
Vector of areas of the tiles, if they are already known.
向量的区域的瓷砖,如果他们已经知道。
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 by the “counting weights” rule based on a regular grid of rectangular tiles. First X and (optionally) window are converted into a point pattern object. Then the bounding rectangle of the window of the point pattern is divided into a regular ntile[1] * ntile[2] grid of rectangular tiles. The weight attached to a point of X is the area of the tile in which it lies, divided by the number of points of X lying in that tile.
权重计算的“计算权重”的规则,根据规则的网格矩形砖。第一个X和(可选的)window被转换成点模式对象。然后,窗口的边界矩形的点模式分为定期ntile[1] * ntile[2]格的矩形砖。的重量连接到一个点X是瓷砖它在于,X趴在该瓷砖的点的数目除以面积。
For non-rectangular windows the tile areas are currently calculated by approximating the window as a binary mask. The accuracy of this approximation is controlled by npix, which becomes the argument dimyx of as.mask.
对于非矩形窗口的瓷砖区域,当前窗口中的二进制掩码来近似计算。这种近似的精度控制npix,成为参数dimyxas.mask。
值----------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, dirichlet.weights
quad.object,dirichlet.weights
实例----------Examples----------
Q <- quadscheme(runifpoispp(10))
X <- as.ppp(Q) # data and dummy points together[数据和虚拟点]
w <- gridweights(X, 10)
w <- gridweights(X, c(10, 10))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|