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

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

[复制链接]
发表于 2012-9-30 13:09:10 | 显示全部楼层 |阅读模式
ants(spatstat)
ants()所属R语言包:spatstat

                                         Harkness-Isham ants' nests data
                                         哈克尼斯艾沙姆蚂蚁的巢数据

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

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

These data give the spatial locations of nests of two species of ants, Messor wasmanni and Cataglyphis bicolor, recorded by Professor R.D.\ Harkness at a site in northern Greece, and described in Harkness \& Isham (1983).  The full dataset (supplied here) has an irregular polygonal boundary, while most analyses have been confined to two rectangular subsets of the pattern (also supplied here).
这些数据给两个品种的的的蚂蚁,Messor wasmanni和箭蚁双色教授RD \哈克尼斯,记录在一个网站在希腊北部巢的空间位置,并描述了在的哈克尼斯\&艾沙姆(1983)。完整的数据集(这里提供的)具有不规则的多边形边界,而大多数分析已经局限于两个矩形的图案(此处也供给)的子集。

The harvester ant M. wasmanni  collects seeds for food and builds a nest composed mainly of seed husks. C. bicolor is a heat-tolerant desert foraging ant which eats dead insects and other arthropods. Interest focuses on whether there is evidence in the data for intra-species competition between Messor nests (i.e. competition for resources) and for preferential placement of Cataglyphis nests in the vicinity of Messor nests.   
收获蚁M. wasmanni收集种子为食,筑巢,主要由种子壳。 C.双色是吃死的昆虫和其他节肢动物的一个热容错沙漠觅食的蚂蚁。兴趣集中于是否有证据表明在种内之间的竞争Messor巢(即对资源的竞争)和箭蚁的附近的Messor巢的巢优先位置的数据。

The full dataset is displayed in Figure 1 of Harkness \& Isham (1983). See Usage below to produce a comparable plot. It comprises 97 nests (68 Messor and 29 Cataglyphis) inside an irregular convex polygonal boundary, together with annotations showing a foot track through the region, the boundary between field and scrub areas inside the region, and indicating the two rectangular subregions A and B used in their analysis.
完整的数据集显示在图1的哈克尼斯\&艾沙姆(1983)。请参阅使用产生比较图。它包括97个巢(的68 Messor和29箭蚁)内的不规则凸多边形的边界,再加上该区域的一个脚迹注释,领域和灌木丛区域的区域内,并指出两个矩形分区域之间的边界A和B使用在他们的分析中。

Rectangular subsets of the data were analysed by Harkness \& Isham (1983), Isham (1984), Takacs \& Fiksel (1986),  S\"arkk\"a (1993, section 5.3), H\"ogmander and S\"arkk\"a (1999) and Baddeley \& Turner (2000). The full dataset (inside its irregular boundary) was first analysed  by Baddeley \& Turner (2005b).
矩形的数据子集进行分析哈克尼斯$ \&艾沙姆(1983),艾沙姆(1984年),塔卡克斯\&Fiksel(1986年),S \“arkk \”(1993年,第5.3节),H \“ ogmander和S \“arkk \”(1999)和亚伦 - 巴德利\&特纳(2000年)。首先分析了完整的数据集(其不规则的边界内)巴德利\&特纳(2005B)。

The dataset ants is the full point pattern enclosed by the irregular polygonal boundary. The x and y coordinates are eastings (E-W) and northings (N-S) scaled so that 1 unit equals 0.5 feet.  This is a multitype point pattern object, each point carrying a mark indicating the ant species (with levels Cataglyphis and Messor).
的数据集ants是满点的不规则多边形边界括起来的模式。 x和y坐标是东进(EW)和北向(NS)定标,1个单位等于0.5英尺。这是一个多类型的点模式对象,每个点都背着一个标记,显示的蚂蚁种类(水平Cataglyphis和Messor的)。

The dataset ants.extra is a list of auxiliary information:
的数据集ants.extra是辅助信息的列表:




A and B The subsets of the pattern within the rectangles A and B demarcated in Figure 1 of Harkness \& Isham (1983). These are multitype point pattern objects.
A和B模式的子集内的矩形划分图1中的A和B的哈克尼斯\&艾沙姆(1983年)。这些多类型的点模式对象。

coordinates of two straight lines bounding the foot track.
坐标两条直线边界脚迹。




fieldscrub The endpoints of a straight line separating the regions of "field" and "scrub":  scrub to the North and field to the South.
fieldscrub分离区域的“字段”和“去角质”的直线的端点:擦洗的北方和南方的领域。

A function(x,y) that determines whether the location (x,y) is in the scrub or the field. The function can be applied to numeric vectors x and y, and returns a factor with levels "scrub" and "field". This function is useful as a spatial covariate.
Afunction(x,y)确定的位置(x,y)是否是在擦洗或领域。该功能可以应用到数字矢量x和y,并返回一个因素与水平"scrub"和"field"。此功能是有用的作为空间的协变量。




plot A function which produces a plot of the full dataset.
plot一个函数来产生一个完整的数据集的图。


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


data(ants)



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

ants is an object of class "ppp" representing the full point pattern of ants' nests. See ppp.object for details of the format. The coordinates are scaled so that 1 unit equals 0.5 feet. The points are marked by species (with levels Cataglyphis and Messor).
ants是类的一个对象"ppp"代表满点的模式,蚂蚁的巢。见ppp.object的格式的详细信息。缩放以1个单位等于0.5英尺的坐标。点被标记的物种(水平Cataglyphis和Messor)。

ants.extra is a list with entries
ants.extra是一个列表中的条目




A point pattern of class "ppp"
点模式的类"ppp"




B point pattern of class "ppp"
B点的模式类"ppp"




trackNE data in format list(x=numeric(2),y=numeric(2))
trackNE的数据在格式“list(x=numeric(2),y=numeric(2))中




trackSW data in format list(x=numeric(2),y=numeric(2))
trackSW的数据在格式“list(x=numeric(2),y=numeric(2))中




fieldscrub data in format list(x=numeric(2),y=numeric(2))
在格式“list(x=numeric(2),y=numeric(2)) fieldscrub数据




side Function with arguments x,y
侧函数的参数x,y




plot Function
绘图功能


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

Harkness and Isham (1983). Nest coordinates kindly provided by Prof Valerie Isham. Polygon coordinates digitised by Adrian Baddeley from a reprint of Harkness \& Isham (1983).
哈克尼斯和艾沙姆(1983)。鸟巢坐标瓦莱丽·艾沙姆教授惠赠。多边形坐标从哈克尼斯的翻版由阿德里安 - 巴德利数字化\&艾沙姆(1983)。


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

Practical maximum pseudolikelihood for spatial point patterns. Australian and New Zealand Journal of Statistics 42, 283–322.
Spatstat: an R package for analyzing spatial point patterns. Journal of Statistical Software 12:6, 1&ndash;42. URL: <code>www.jstatsoft.org</code>, ISSN: 1548-7660.
Modelling spatial point patterns in R. In: A. Baddeley, P. Gregori, J. Mateu, R. Stoica, and D. Stoyan, editors, Case Studies in Spatial Point Pattern Modelling, Lecture Notes in Statistics number 185. Pages 23&ndash;74. Springer-Verlag, New York, 2006.  ISBN: 0-387-28311-0.  
A bivariate spatial point pattern of ants' nests. Applied Statistics 32, 293&ndash;303.
Multitype spatial point patterns with hierarchical interactions. Biometrics 55, 1051&ndash;1058.
Multitype Markov point processes: some approximations. Proceedings of the Royal Society of London, Series A, 391, 39&ndash;53.
Interaction pair-potentials for a system of ants' nests. Biometrical Journal 28, 1007&ndash;1013.
Pseudo-likelihood approach for pair potential estimation of Gibbs processes. Number 22 in Jyv\"askyl\"a Studies in Computer Science, Economics and Statistics. University of Jyv\"askyl\"a, Finland.

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



  # Equivalent to Figure 1 of Harkness and Isham (1983)[相当于图1哈克尼斯和艾沙姆(1983)]

  data(ants)
  ants.extra$plot()

  # Data in subrectangle A, rotated [在子矩形A,旋转的数据]
  # Approximate data used by Sarkka (1993)[使用近似数据Sarkka(1993)]

  angle <- atan(diff(ants.extra$fieldscrub$y)/diff(ants.extra$fieldscrub$x))
  plot(rotate(ants.extra$A, -angle))

  # Approximate window used by Takacs and Fiksel (1986)[大约窗口塔卡克斯和Fiksel(1986)]

  tfwindow <- bounding.box(ants$window)
  antsTF <- ppp(ants$x, ants$y, window=tfwindow)
  plot(antsTF)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-12 16:36 , Processed in 0.023904 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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