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

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

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

                                        New York leukemia data
                                         纽约白血病数据

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

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

New York leukemia data taken from the data sets supporting Waller and Gotway 2004 (the data should be loaded by running example(NY_data) to demonstrate spatial data import techniques).
纽约白血病数据从数据集,支持Waller和Gotway 2004(数据应加载通过运行example(NY_data)展示空间数据导入技术)。


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


data(NY_data)



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

A data frame with 281 observations on the following 12 variables, and the binary coded spatial weights used in the source.
281以下12个变量的观察,并在源代码中使用二进制编码的空间权重数据框。




AREANAME name of census tract
AREANAME名称人口普查




AREAKEY unique FIPS code for each tract
AREAKEY每一块独特的FIPS代码




X x-coordinate of tract centroid (in km)
XX-道质心坐标(单位:公里)




Y y-coordinate of tract centroid (in km)
Y道质心的y坐标(单位:公里)




POP8 population size (1980 U.S. Census)
POP8的人口规模(1980年美国人口普查)




TRACTCAS number of cases 1978-1982
TRACTCAS的情况下,1978年至1982年




PROPCAS proportion of cases per tract
PROPCAS比例的情况下,每道




PCTOWNHOME percentage of people in each tract owning their own home
PCTOWNHOME比例的人在每一块拥有自己的家




PCTAGE65P percentage of people in each tract aged 65 or more
PCTAGE65P比例的人在65岁以上的每一块




Z ransformed propoprtions
Z的ransformed propoprtions




AVGIDIST average distance between centroid and TCE sites
AVGIDIST之间的平均距离质心和TCE网站




PEXPOSURE "exposure potential": inverse distance between each census tract centroid and the nearest TCE site, IDIST, transformed via log(100*IDIST)
PEXPOSURE“暴露潜在的”反每个人口普查区的质心之间的距离,最近的的TCE网站,IDIST,摇身一变通过log(100 * IDIST的)


Details

详细信息----------Details----------

The examples section shows how the DBF files from the book website for Chapter 9 were converted into the nydata data frame and the listw_NY spatial weights list.
的例子展示了如何从第9章的图书网站的DBF文件转换成nydata数据框和listw_NY空间权重列表。


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

http://www.sph.emory.edu/~lwaller/ch9index.htm



参考文献----------References----------



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


## NY leukemia[#NY白血病]
nydata <- read.dbf(system.file("etc/misc/nydata.dbf", package="spdep")[1])
coordinates(nydata) <- c("X", "Y")
nyadjmat <- as.matrix(read.dbf(system.file("etc/misc/nyadjwts.dbf",
package="spdep")[1])[-1])
ID <- as.character(names(read.dbf(system.file("etc/misc/nyadjwts.dbf",
package="spdep")[1]))[-1])
identical(substring(ID, 2, 10), substring(as.character(nydata$AREAKEY), 2, 10))
nyadjlw <- mat2listw(nyadjmat, as.character(nydata$AREAKEY))
listw_NY <- nb2listw(nyadjlw$neighbours, style="B")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-17 22:10 , Processed in 0.023866 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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