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

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

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

                                        Pairwise distances between two different three-dimensional point patterns
                                         两个不同的三维点图案的两两之间的距离

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

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

Computes the distances between pairs of points taken from two different three-dimensional point patterns.
计算对取自两个不同的三维点图案的点之间的距离。


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


  ## S3 method for class 'pp3'
crossdist(X, Y, ..., periodic=FALSE)



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

参数:X,Y
Point patterns in three dimensions (objects of class "pp3").  
点模式在三个方面(对象类"pp3")。


参数:...
Ignored.  
忽略。


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


Details

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

Given two point patterns in three-dimensional space,  this function computes the Euclidean distance from each point in the first pattern to each point in the second pattern, and returns a matrix containing these distances.
鉴于在三维空间中的两个点图案,此函数计算第二图案中的每一个点从第一图案中的每个点的欧几里得距离,并返回一个矩阵包含这些距离。

This is a method for the generic function crossdist for three-dimensional point patterns (objects of class "pp3").
这是一个方法的通用函数crossdist三维点模式(类的对象"pp3"“)。

This function expects two point patterns X and Y, and returns the matrix whose [i,j] entry is the distance from X[i] to Y[j].
此功能要求两个点模式X和Y,并返回矩阵的[i,j]项的距离X[i]到Y[j]。

Alternatively if periodic=TRUE, then provided the windows containing X and Y are identical and are rectangular, then the distances will be computed in the "periodic" sense (also known as "torus" distance): opposite edges of the rectangle are regarded as equivalent. This is meaningless if the window is not a rectangle.
或者,如果periodic=TRUE,然后提供的窗口含有X和Y的是相同的,是矩形的,那么距离将被计算在定期感(也被称为圆环距离):的矩形的相对边缘被认为等同。这是无意义的,如果该窗口不在一个矩形。


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

A matrix whose [i,j] entry is the distance from the i-th point in X to the j-th point in Y.
矩阵的的个点[i,j] i个点X jY项的距离。


(作者)----------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 code for two dimensions by
Pavel Grabarnik.




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

crossdist, pairdist, nndist, G3est
crossdist,pairdist,nndist,G3est


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


   X <- runifpoint3(20)
   Y <- runifpoint3(30)
   d <- crossdist(X, Y)
   d <- crossdist(X, Y, periodic=TRUE)

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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