找回密码
 注册
查看: 317|回复: 0

R语言 spatstat包 pairdist.pp3()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 13:52:24 | 显示全部楼层 |阅读模式
pairdist.pp3(spatstat)
pairdist.pp3()所属R语言包:spatstat

                                        Pairwise distances in Three Dimensions
                                         成对三维空间中的距离

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Computes the matrix of distances between all pairs of points in a three-dimensional point pattern.
计算所有对一个三维的点图案中的点之间的距离的矩阵。


用法----------Usage----------


  ## S3 method for class 'pp3'
pairdist(X, ..., periodic=FALSE, squared=FALSE)



参数----------Arguments----------

参数:X
A point pattern (object of class "pp3").  
点模式(类的对象"pp3")。


参数:...
Ignored.  
忽略。


参数:periodic
Logical. Specifies whether to apply a periodic edge correction.  
逻辑。指定是否申请一个周期的边缘校正。


参数:squared
Logical. If squared=TRUE, the squared distances are returned instead (this computation is faster).  
逻辑。如果squared=TRUE,距离的平方返回,而不是(此计算速度更快)。


Details

详细信息----------Details----------

This is a method for the generic function pairdist.
这是一个方法的通用函数pairdist。

Given a three-dimensional point pattern X (an object of class "pp3"), this function computes the Euclidean distances between all pairs of points in X, and returns the matrix of distances.
给定一个三维点模式X(一个类的对象"pp3"),这个函数计算所有点对之间的欧氏距离在X,并返回的距离矩阵。

Alternatively if periodic=TRUE and the window containing X is a box, then the distances will be computed in the "periodic" sense (also known as "torus" distance): opposite faces of the box are regarded as equivalent. This is meaningless if the window is not a box.
或者,如果periodic=TRUE和窗口,该窗口包含X是一个方块,然后将计算的距离在定期感(也被称为“圆环”距离):的框中的相对面是视为等同。这是无意义的,如果该窗口不在一个盒子。

If squared=TRUE then the squared Euclidean distances d^2 are returned, instead of the Euclidean distances d. The squared distances are faster to calculate, and are sufficient for many purposes (such as finding the nearest neighbour of a point).
如果squared=TRUE然后的平方欧氏距离d^2返回,而不是的欧几里德距离d。距离的平方速度来计算,足够用于多种用途(如寻找最近的邻居的一个点)。


值----------Value----------

A square matrix whose [i,j] entry is the distance between the points numbered i and j.
一方阵的[i,j]项是点之间的距离编号i和j。


(作者)----------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>
based on two-dimensional code by
Pavel Grabarnik.




参见----------See Also----------

pairdist, crossdist, nndist, K3est
pairdist,crossdist,nndist,K3est


实例----------Examples----------


   X <- runifpoint3(20)
   d <- pairdist(X)
   d <- pairdist(X, periodic=TRUE)
   d <- pairdist(X, squared=TRUE)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-15 14:10 , Processed in 0.023290 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表