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

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

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

                                        North Carolina SIDS data
                                         北卡罗莱纳州的小岛屿发展中国家的数据

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

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

(Use example(nc.sids) to read the data set from shapefile, together with import of two different list of neighbours).
(使用example(nc.sids)读取的数据从shapefile文件,连同进口两种不同的邻居列表)。

The nc.sids data frame has 100 rows and 21 columns. It contains data given in Cressie (1991, pp. 386-9), Cressie and Read (1985) and Cressie and Chan (1989) on sudden infant deaths in North Carolina for 1974-78 and 1979-84. The data set also contains the neighbour list given by Cressie and Chan (1989) omitting self-neighbours (ncCC89.nb), and the neighbour list given by Cressie and Read (1985) for contiguities (ncCR85.nb). The data are ordered by county ID number, not alphabetically as in the source tables sidspolys is a "polylist" object of polygon boundaries, and sidscents is a matrix of their centroids.
nc.sids数据框有100行和21列。它包含数据的经验Cressie(1991年,第386-9),在北卡罗莱纳州的婴儿突然死亡的经验Cressie和Read(1985)和经验Cressie和陈(1989)在1974-78年和1979-84。该数据集还包含邻居列表中省略自我邻居(ncCC89.nb)的经验Cressie和陈(1989),和邻居列表中经验Cressie和Read(1985)的contiguities(ncCR85.nb)。县ID号的数据是有序的,而不是按字母顺序源表中的sidspolys是一个“polylist的”对象的多边形边界,和sidscents是一个矩阵,其质心。


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


data(nc.sids)



格式----------Format----------

This data frame contains the following columns:
该数据框包含以下几列:




SP\_ID SpatialPolygons ID
SP \的_ID SpatialPolygons ID




CNTY\_ID county ID
CNTY \ _ID县ID




east eastings, county seat, miles, local projection
东东进县城,英里,局部投影




north northings, county seat, miles, local projection
北北向,县城,英里,局部投影




L\_id Cressie and Read (1985) L index
L \ _id经验Cressie和Read(1985)L指数




M\_id Cressie and Read (1985) M index
M \ _id经验Cressie和Read(1985)M指数




names County names
名县名




AREA County polygon areas in degree units
区县以度为单位的多边形区域




PERIMETER County polygon perimeters in degree units
以度为单位的的周长县多边形的周长




CNTY\_ Internal county ID
CNTY \ _内部县城ID




NAME County names
县名命名




FIPS County ID
FIPS县ID




FIPSNO County ID
FIPSNO县ID




CRESS\_ID Cressie papers ID
CRESS \ _ID经验Cressie文件ID




BIR74 births, 1974-78
BIR74出生,1974年至1978年




SID74 SID deaths, 1974-78
SID74的SID死亡,1974-78




NWBIR74 non-white births, 1974-78
NWBIR74非白人的出生,1974年至1978年




BIR79 births, 1979-84
BIR79出生,1979年至1984年




SID79 SID deaths, 1979-84
SID79的SID死亡,1979-84




NWBIR79 non-white births, 1979-84
NWBIR79非白人的出生,1979年至1984年


源----------Source----------

Cressie, N (1991), Statistics for spatial data. New York: Wiley, pp. 386–389; Cressie, N, Chan NH (1989) Spatial modelling of regional variables. Journal of the American Statistical Association, 84, 393–401; Cressie, N, Read, TRC (1985) Do sudden infant deaths come in clusters? Statistics and Decisions Supplement Issue 2, 333–349; http://sal.agecon.uiuc.edu/datasets/sids.zip.
经验Cressie,N(1991年),为空间数据的统计。北京:科学出版社,页386-389;经验Cressie,N NH(1989年),陈区域化变量的空间造型。杂志的美国统计协会,84,393-401;经验Cressie,N,读,TRC(1985)在聚类中的婴儿突然死亡?统计与决策补编第2期,333-349; http://sal.agecon.uiuc.edu/datasets/sids.zip。


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


nc.sids <- readShapePoly(system.file("etc/shapes/sids.shp", package="spdep")[1],
  ID="FIPSNO", proj4string=CRS("+proj=longlat +ellps=clrk66"))
rn <- sapply(slot(nc.sids, "polygons"), function(x) slot(x, "ID"))
ncCC89_nb <- read.gal(system.file("etc/weights/ncCC89.gal", package="spdep")[1],
  region.id=rn)
ncCR85_nb <- read.gal(system.file("etc/weights/ncCR85.gal", package="spdep")[1],
  region.id=rn)
## Not run: [#不运行:]
plot(nc.sids, border="grey")
plot(ncCR85_nb, coordinates(nc.sids), add=TRUE, col="blue")
plot(nc.sids, border="grey")
plot(ncCC89_nb, coordinates(nc.sids), add=TRUE, col="blue")

## End(Not run)[#(不执行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-18 04:50 , Processed in 0.037439 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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