bdist.points(spatstat)
bdist.points()所属R语言包:spatstat
Distance to Boundary of Window
窗口边界的距离
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes the distances from each point of a point pattern to the boundary of the window.
计算从每个点的点图案窗口的边界的距离。
用法----------Usage----------
bdist.points(X)
参数----------Arguments----------
参数:X
A point pattern (object of class "ppp").
点模式(类的对象"ppp")。
Details
详细信息----------Details----------
This function computes, for each point x[i] in the point pattern X, the shortest distance dist(x[i], W') from x[i] to the boundary of the window W of observation.
该函数计算,每个点x[i]点图案X,最短的距离dist(x[i], W')由x[i]工业窗口W观察到边界。
If the window X$window is of type "rectangle" or "polygonal", then these distances are computed by analytic geometry and are exact, up to rounding errors. If the window is of type "mask" then the distances are computed using the real-valued distance transform, which is an approximation with maximum error equal to the width of one pixel in the mask.
如果窗口X$window类型"rectangle"或"polygonal",那么这些距离计算解析几何是准确的,舍入误差。如果该窗口类型"mask"然后的距离的计算使用的实值的距离的变换,这是一个近似等于掩码中的一个像素的宽度的最大误差。
值----------Value----------
A numeric vector, giving the distances from each point of the pattern to the boundary of the window.
甲数值向量,发出的距离从各点的图案的边界的窗口。
(作者)----------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----------
bdist.pixels, bdist.tiles, ppp.object, erosion
bdist.pixels,bdist.tiles,ppp.object,erosion
实例----------Examples----------
data(cells)
d <- bdist.points(cells)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|