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

R语言 SpatialEpi包 create.geo.objects()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 12:38:55 | 显示全部楼层 |阅读模式
create.geo.objects(SpatialEpi)
create.geo.objects()所属R语言包:SpatialEpi

                                        Create geographical objects to be used in bayes.cluster function.
                                         创建GEO对象中要使用bayes.cluster功能。

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

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

This internal function creates the geographical objects needed to run the Bayesian cluster detection method in bayes.cluster.  Specifically it creates all single zones based data objects, where single zones are the zones defined by Kulldorff (1997).  
这个内部函数创建的GEO对象需要运行的贝叶斯的聚类检测方法bayes.cluster。具体来说,它会创建所有的单区为基础的数据对象,其中单区是区域定义的Kulldorff(1997)。


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


create.geo.objects(max.prop, pop, centroids, sp.obj, area = NULL)



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

参数:max.prop
maximum proportion of study region's population each single zone can contain
研究区的人口比例最大单区可以包含


参数:pop
vector of length n of the population of each area
向量的长度n每个区域的人口


参数:centroids
an n x 2 table of the (x,y)-coordinates of the area centroids.  The coordinate system must be grid-based  
n x 2表中的(x,y)的坐标的区域的质心。基于网格的坐标系统必须


参数:sp.obj
an object of class SpatialPolygons (See SpatialPolygons-class) representing the study region  
研究区域的对象类SpatialPolygons(见SpatialPolygons级)


参数:area
geographic area of each of the n areas. If not specified, this function will compute them based on sp.obj
n领域的每个GEO区域。如果没有指定,该函数将计算的基础上sp.obj


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


参数:overlap
a list with two elements: 1. presence which lists for each areas all the single zones it is present in and 2. cluster_list for each single zone its component areas
一个有两个元素的列表:这是目前在和1. presence 2. cluster_list列出了各个区域的所有单区每个单独的区域,其组件领域


参数:cluster.coords
n.zones x 2 matrix of the centering and radial area of each single zone
n.zones x 2矩阵的定心和径向每个单个区域的面积


参数:areaz
vector of the geographic surface area of each single zone
向量的表面积的每一单个区域的GEO


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


Albert Y. Kim



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



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

latlong2grid, zones
latlong2grid,zones


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


data(pennLC)
max.prop <- 0.15
pop <- tapply(pennLC$data$population, pennLC$data$county, sum)
centroids <- latlong2grid(pennLC$geo[, 2:3])
map <- pennLC$spatial.polygon
output <- create.geo.objects(max.prop, pop, centroids, map)

## number of single zones[#号单区]
nrow(output$cluster.coords)
length(output$areaz)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-14 02:49 , Processed in 0.033082 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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