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

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

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

                                        Border Region of a Window
                                         边界区域的一个窗口

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

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

Computes the border region of a window, that is, the region lying within a specified distance of the boundary of a window.
计算一个窗口的边框区域,即,躺在的指定距离内的一个窗口的边界的区域。


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


border(w, r, outside=FALSE, ...)



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

参数:w
A window (object of class "owin") or something acceptable to as.owin.  
一个窗口(对象类"owin")或一些可以接受的as.owin。


参数:r
Numerical value.
数值。


参数:outside
Logical value determining whether to compute the border outside or inside w.
逻辑值,决定是否计算的边界内部或外部w。


参数:...
Optional arguments passed to erosion (if outside=FALSE) or to dilation (if outside=TRUE).  
可选参数传递给erosion(如果outside=FALSE)或dilation(outside=TRUE)。


Details

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

By default (if outside=FALSE), the border region is the subset of w lying within a distance r of the boundary of w. It is computed by eroding w by the distance r (using erosion) and subtracting this eroded window from the original window w.
默认情况下(如果outside=FALSE),边界区域是w的距离r的边界w内的子集。它的计算方法是削弱w的距离r(使用erosion),再减去这个的侵蚀窗口从原来的窗口w。

If outside=TRUE, the border region is the set of locations outside w lying within a distance r of w. It is computed by dilating w by the distance r (using dilation) and subtracting the original window w from the dilated window.
如果outside=TRUE,边界区域以外的地方w内的距离r的w的集合。它的计算方法是扩张w的距离r(使用dilation),减去原来的窗口w扩张的窗口。


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

A window (object of class "owin").
一个窗口(类的对象"owin"“)。


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


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>
and Rolf Turner
<a href="mailto:r.turner@auckland.ac.nz">r.turner@auckland.ac.nz</a>




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

erosion, dilation
erosion,dilation


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


# rectangle[矩形]
   u <- unit.square()
   border(u, 0.1)
   border(u, 0.1, outside=TRUE)
# polygon[多边形]
   data(letterR)
   plot(letterR)
   plot(border(letterR, 0.1), add=TRUE)
   plot(border(letterR, 0.1, outside=TRUE), add=TRUE)

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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