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

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

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

                                         Compute Disc of Given Radius in Linear Network
                                         线性网络在给定半径的计算光盘

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

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

Computes the "disc" of given radius and centre in a linear network.
计算给定半径和线性网络中心的“光盘”。


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


  lineardisc(L, x = locator(1), r, plotit = TRUE,
   cols=c("blue", "red","green"))
  countends(L, x = locator(1), r)



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

参数:L
Linear network (object of class "linnet").  
线性网络(类的对象"linnet"“)。


参数:x
Location of centre of disc. Either a point pattern (object of class "ppp") containing exactly 1 point, or a numeric vector of length 2.  
光盘的中心位置。无论是点模式(对象的类"ppp"),包含1点,或一个数值向量长度为2。


参数:r
Radius of disc.  
光盘的半径。


参数:plotit
Logical. Whether to plot the disc.  
逻辑。无论是绘制光盘。


参数:cols
Colours for plotting the disc. A numeric or character vector of length 3 specifying the colours of the disc centre, disc lines and disc endpoints respectively.  
颜色的图光盘。甲数字或字符的长度为3的矢量指定的颜色盘中心,盘线和光盘端点分别。


Details

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

The "disc" B(u,r) of centre x and radius r in a linear network L is the set of all points u in L such that the shortest path distance from x to u is less than or equal to r. This is a union of line segments contained in L.
盘B(u,r)中心x和半径r在一个线性网络L是集所有点uL这样的最短路径距离x到u是小于或等于r。这是一个工会的线段中包含的L。

The relative boundary of the disc B(u,r) is the set of points v such that the shortest path distance from x to u is equal to r.
相对的边界的光盘B(u,r)是v这样的点集的最短路径距离而直接从x到u等于r的的。

The function lineardisc computes the disc of radius r and its relative boundary, optionally plots them, and returns them. The faster function countends simply counts the number of points in the relative boundary.
的功能lineardisc计算光盘的半径r和其相对边界,任选图它们,并将它们返回。更快的功能countends只在相对的边界点的数量进行计数。


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

The value of lineardisc is a list with two entries:
lineardisc是两个条目的列表:


参数:lines
Line segment pattern (object of class "psp") representing the interior disc
线段模式(类的对象"psp")内部光盘


参数:endpoints
Point pattern (object of class "ppp") representing the relative boundary of the disc.  
点模式(对象类"ppp")的相对边界的光盘。

The value of countends is an integer giving the number of points in the relative boundary.
countends的值是一个整数,给出相对的边界中的点的数目。


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



Ang Qi Wei <a href="mailto:aqw07398@hotmail.com">aqw07398@hotmail.com</a> and
Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>




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

Statistical methodology for events on a network. Master's thesis, School of Mathematics and Statistics, University of Western Australia.
Geometrically corrected second-order analysis of  events on a linear network, with applications to ecology and criminology. To appear in Scandinavian Journal of Statistics.

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

linnet
linnet


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


   example(linnet)
   lineardisc(letterA, c(0,3), 1.6)
   # count the endpoints[数的端点]
   countends(letterA, c(0,3), 1.6)
   # cross-check (slower)[交叉检查(慢)]
   lineardisc(letterA, c(0,3), 1.6, plotit=FALSE)$endpoints$n

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-15 22:59 , Processed in 0.028144 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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