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

R语言 spdep包 nbdists()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 14:42:41 | 显示全部楼层 |阅读模式
nbdists(spdep)
nbdists()所属R语言包:spdep

                                        Spatial link distance measures
                                         空间链路距离的措施

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

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

Given a list of spatial neighbour links (a neighbours list of object type nb), the function returns the Euclidean distances along the links in a list of the same form as the neighbours list. If longlat = TRUE, Great Circle distances are used.
空间邻近的链接(一个邻居列表中的对象类型的列表nb),该函数返回的欧氏距离沿的邻居列表中相同的形式的列表中的链接。如果longlat = TRUE,大圆距离使用。


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


nbdists(nb, coords, longlat = NULL)



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

参数:nb
an object of class nb
一个对象的类nb


参数:coords
matrix of point coordinates or a SpatialPoints object
的点坐标或SpatialPoints对象的矩阵


参数:longlat
TRUE if point coordinates are longitude-latitude decimal degrees, in which case distances are measured in kilometers; if coords is a SpatialPoints object, the value is taken from the object itself
TRUE,如果点的坐标是经度,纬度十进制度,在这种情况下,测量距离(公里);,如果坐标是一个SpatialPoints,对象,是从对象本身的价值


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

A list with class nbdist
列表类nbdist


(作者)----------Author(s)----------


Roger Bivand <a href="mailto:Roger.Bivand@nhh.no">Roger.Bivand@nhh.no</a>



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

summary.nb, nb2listw
summary.nb,nb2listw


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


example(columbus)
coords <- coordinates(columbus)
dlist <- nbdists(col.gal.nb, coords)
dlist <- lapply(dlist, function(x) 1/x)
stem(unlist(dlist))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-17 22:31 , Processed in 0.024272 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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