summary.nb(spdep)
summary.nb()所属R语言包:spdep
Print and summary function for neighbours and weights lists
打印和汇总函数的邻居和重量列表
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The function prints summary measures for links in a neighbours list. If a matrix of coordinates is given as well, summary descriptive measures for the link lengths are also printed. Print and summary functions are also available for "listw" weights list objects.
该函数打印一个邻居列表中的链接,概要措施。如果一个矩阵坐标,的概要描述性措施的链路长度也印。打印和汇总功能也可用于"listw"的权重列表对象。
用法----------Usage----------
## S3 method for class 'nb'
summary(object, coords=NULL, longlat = NULL, scale = 1, ...)
## S3 method for class 'nb'
print(x, ...)
## S3 method for class 'listw'
summary(object, coords, longlat, zero.policy = NULL,
scale = 1, ...)
## S3 method for class 'listw'
print(x, zero.policy = NULL, ...)
参数----------Arguments----------
参数:object
an object of class nb
一个对象的类nb
参数:coords
matrix of region 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,对象,是从对象本身的价值
参数:...
additional arguments affecting the output produced
产生额外的参数,影响输出
参数:x
an object of class nb
一个对象的类nb
参数:zero.policy
default NULL, use global option value; if FALSE stop with error for any empty neighbour sets
默认为空,请使用全局选项的值,如果为FALSE停止错误的任何空的邻居设置
参数:scale
passed through to stem() for control of plot length
通过stem()绘图长度控制
(作者)----------Author(s)----------
Roger Bivand <a href="mailto:Roger.Bivand@nhh.no">Roger.Bivand@nhh.no</a>
参见----------See Also----------
plot.nb
plot.nb
实例----------Examples----------
example(columbus)
coords <- coordinates(columbus)
col.gal.nb
summary(col.gal.nb, coords)
col.listw <- nb2listw(col.gal.nb, style="W")
col.listw
summary(col.listw)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|