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

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

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

                                        Higher order neighbours lists
                                         高阶邻居列表

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

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

The function creates higher order neighbour lists, where higher order neighbours are only lags links from each other on the graph described by the input neighbours list. It will refuse to lag neighbours lists with the attribute self.included set to TRUE. nblag_cumul cumulates neighbour lists to a single neighbour list (“nb” object).
该函数创建高阶邻居列表,其中高阶的邻居都lags相互链接的图形输入的邻居列表中所描述的。它会拒绝落后于邻居列表的的属性self.included设置为TRUE。 nblag_cumul堆邻居列表到一个单一的的邻居列表(“NB”对象)。


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


nblag(neighbours, maxlag)
nblag_cumul(nblags)



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

参数:neighbours
input neighbours list of class nb
输入的邻居列表类nb


参数:maxlag
the maximum lag to be constructed
以被构造的最大滞后


参数:nblags
a list of neighbour lists as output by nblag
邻居列表的列表输出nblag


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

returns a list of lagged neighbours lists each with class nb
返回一个列表,每个类nb滞后的邻居列表


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


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



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

summary.nb
summary.nb


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


example(columbus)
coords <- coordinates(columbus)
summary(col.gal.nb, coords)
plot(columbus, border="grey")
plot(col.gal.nb, coords, add=TRUE)
title(main="GAL order 1 (black) and 2 (red) links")
col.lags <- nblag(col.gal.nb, 2)
lapply(col.lags, print)
summary(col.lags[[2]], coords)
plot(col.lags[[2]], coords, add=TRUE, col="red", lty=2)
cuml <- nblag_cumul(col.lags)
cuml

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-18 02:15 , Processed in 0.032005 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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