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

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

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

                                         Perimeter Length of Window
                                         周长窗口

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

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

Computes the perimeter length of a window
计算一个窗口的周长


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


perimeter(w)



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

参数:w
A window (object of class "owin") or data that can be converted to a window by as.owin.  
一个窗口(对象类"owin")或数据,可以转换为一个窗口as.owin。


Details

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

This function computes the perimeter (length of the boundary) of the window w. If w is a rectangle or a polygonal window, the perimeter is the sum of the lengths of the edges of w. If w is a mask, it is first converted to a polygonal window using as.polygonal, then staircase edges are removed using simplify.owin, and the perimeter of the resulting polygon is computed.
此函数计算的窗口w边界(边界的长度)。如果w是一个矩形或多边形的窗口中,外围边缘w的长度的总和。如果w是掩模,它首先被转换为一个多边形窗口使用as.polygonal,然后楼梯边缘中除去使用simplify.owin,并且所得到的多边形的周长计算。


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

A numeric value giving the perimeter length of the window.
一个数字值,给的周长窗口。


(作者)----------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----------

area.owin diameter.owin, owin.object, as.owin
area.owindiameter.owin,owin.object,as.owin


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


  perimeter(square(3))
  data(letterR)
  perimeter(letterR)
  if(spatstat.options("gpclib")) {
     if(interactive()) {
     print(perimeter(as.mask(letterR)))
    } else print(perimeter(as.mask(letterR, dimyx=32)))
  }

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-17 06:25 , Processed in 0.026526 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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