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

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

[复制链接]
发表于 2012-9-30 12:39:51 | 显示全部楼层 |阅读模式
NYleukemia(SpatialEpi)
NYleukemia()所属R语言包:SpatialEpi

                                        Upstate New York Leukemia Data
                                         纽约州北部白血病数据

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

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

Census tract level (n=281) leukemia data for the 8 counties in upstate New York from 1978-1982, paired with population data from the 1980 census.  Note that 4 census tracts were completely surrounded by another unique census tract; when applying the Bayesian cluster detection model in bayes.cluster, we merge them with the surrounding census tracts yielding n=277 areas.
年人口普查的水平(n=281)8个县,从1978年至1982年在纽约州北部,人口从1980年的人口普查数据配对白血病数据。需要注意的是4个普查小区被完全包围的另一种独特的人口普查时,贝叶斯聚类检测模型bayes.cluster,我们将它们合并产生n=277领域与周围的普查小区。


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


data(NYleukemia)



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

List with 5 items:
列出5项:

table of the FIPS code, longitude, and latitude of the geographic centroid of each census tract
表FIPS代码,经度和纬度的GEO中心位置,每个人口普查

table of the FIPS code, number of cases, and population of each census tract
FIPS代码表,病例数和人口的每个人口普查

object of class SpatialPolygons (See SpatialPolygons-class) containing a map of the study region
对象的类SpatialPolygons(见SpatialPolygons级)研究区域的图

row IDs of the 4 census tracts that are completely surrounded by the surrounding census tracts
行的ID被完全包围了由surrounding普查区的4个普查小区

row IDs of the 4 census tracts that completely surround the surrounded census tracts
行完全包围surrounded普查区的4个普查小区的ID


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

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



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

Monitoring for clusters of disease: application to leukemia incidence in upstate New York American Journal of Epidemiology, 132, 136–143

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

scotland, pennLC
scotland,pennLC


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


## Load data and convert coordinate system from latitude/longitude to grid[#加载数据,并将其转换纬度/经度坐标系统向电网]
data(NYleukemia)
map <- NYleukemia$spatial.polygon
population <- NYleukemia$data$population
cases <- NYleukemia$data$cases
centroids <- latlong2grid(NYleukemia$geo[, 2:3])

## Identify the 4 census tract to be merged into their surrounding census tracts.  [确定被合并到其周围的普查小区的人口普查。]
remove <- NYleukemia$surrounded
add <- NYleukemia$surrounding

## Merge population and case counts[#合并人口和病例数。]
population[add] <- population[add] + population[remove]
population <- population[-remove]
cases[add] <- cases[add] + cases[remove]
cases <- cases[-remove]

## Modify geographical objects accordingly[#修改相应的GEO对象]
map <- SpatialPolygons(map@polygons[-remove], proj4string=CRS("+proj=longlat"))
centroids <- centroids[-remove, ]

## Plot incidence in latitude/longitude[纬度/经度号地的发病率]
plotmap(cases/population, map, log=TRUE, nclr=5)
points(grid2latlong(centroids), pch=4)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-10 05:49 , Processed in 0.025401 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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