pairdist.lpp(spatstat)
pairdist.lpp()所属R语言包:spatstat
Pairwise shortest-path distances between points on a linear network
两两最短路径线性网络上的点之间的距离
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Given a pattern of points on a linear network, compute the matrix of distances between all pairs of points, measuring distance by the shortest path in the network.
线性网络上给定的点的图案,计算的矩阵的各对点之间的距离,测量通过在网络中的最短路径的距离。
用法----------Usage----------
## S3 method for class 'lpp'
pairdist(X, ..., method="C")
参数----------Arguments----------
参数:X
Point pattern on linear network (object of class "lpp").
点线性网络模式(类的对象"lpp"“)。
参数:method
Optional string determining the method of calculation. Either "interpreted" or "C".
可选字符串确定的计算方法。无论是"interpreted"或"C"。
参数:...
Ignored.
忽略。
Details
详细信息----------Details----------
Given a pattern of points on a linear network, this function computes the matrix of distances between all pairs of points, measuring distance by the shortest path in the network.
由于线性网络上的点的图案,此函数计算的矩阵对点之间的所有的距离,通过在网络中的最短路径的测量距离。
If method="C" the distances are computed using code in the C language. If method="interpreted" then the computation is performed using interpreted R code. The R code is much slower, but is provided for checking purposes.
如果method="C"的距离计算在C语言中使用的代码。如果method="interpreted"然后计算进行解释R代码。 R代码慢得多,但检查的目的。
值----------Value----------
A symmetric matrix.
一个对称矩阵。
(作者)----------Author(s)----------
Ang Qi Wei <a href="mailto:aqw07398@hotmail.com">aqw07398@hotmail.com</a> and
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>
参见----------See Also----------
lpp
lpp
实例----------Examples----------
example(lpp)
pairdist(X)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|