zones(SpatialEpi)
zones()所属R语言包:SpatialEpi
Create Set of All Zones and Output Geographical Information
创建的所有区域设置和输出GEO信息
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Based on the population counts and centroid coordinates of each area, output the set of zones as defined by Kulldorff and other geographical information.
基于人口计数和每个区域的质心坐标,输出设定的区域所限定由Kulldorff和其他GEO信息。
用法----------Usage----------
zones(geo, area.population, pop.upper.bound)
参数----------Arguments----------
参数:geo
an n x 2 table of the (x,y)-coordinates of the area centroids
n x 2表中的(x,y)的坐标的区域的质心
参数:area.population
a vector of population counts of each area
每个区域的人口数的矢量
参数:pop.upper.bound
maximum proportion of study region each zone can contain
最高比例的研究区域,每个区域都可以包含
值----------Value----------
A list containing
一个列表,其中包含
参数:nearest.neighbors
a list of n elements, where each element is a vector of the nearest neighbors in order of distance up until pop.upper.bound of the total population is attained
n元素,其中每个元素是一个向量,以距离最近的邻居,直到pop.upper.bound达到总人口的一个列表
参数:n.zones
total number of zones
总的区域数
参数:cluster.coords
an n x 2 table of the center and the radial areas for each zone
n x 2表的中心,并为每个区域的径向区域
参数:dist
an n x n inter-point distance matrix
n x n点间的距离矩阵
(作者)----------Author(s)----------
Albert Y. Kim
参考文献----------References----------
A spatial scan statistic. Communications in Statistics: Theory and Methods, 26, 1481–1496.
Statistics in Medicine, 14, 799–810.
实例----------Examples----------
data(pennLC)
geo <- pennLC$geo[,2:3]
geo <- latlong2grid(geo)
area.population <- tapply(pennLC$data$population, pennLC$data$county, sum)
pop.upper.bound <- 0.5
geo.info <- zones(geo, area.population, pop.upper.bound)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|