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

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

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

                                        Window Frame
                                         窗框

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

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

Extract the window frame of a window or other spatial dataset
提取的窗口框架窗口或其他空间数据集


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


as.rectangle(w, ...)



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

参数:w
A window, or a dataset that has a window. Either a window (object of class "owin"), a pixel image (object of class "im") or other data determining such a window.  
一个窗口,有一个窗口的数据集。无论是窗口(类的对象"owin"),一个像素的图像(类的对象"im")或其他数据确定这样的一个窗口。


参数:...
Optional. Auxiliary data to help determine the window. If w does not belong to a recognised class, the arguments w and ...  are passed to as.owin to determine the window.  
可选。辅助数据,以帮助确定窗口。 w如果不属于公认的类,参数w和...传递给as.owin,以确定窗口。


Details

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

This function is the quickest way to determine a bounding rectangle for a spatial dataset.
这个函数是最快捷的方法来确定的矩形边框的空间数据集。

If w is a window, the function just extracts the outer bounding rectangle of w as given by its elements xrange,yrange.
如果w是一个窗口,该函数提取的外边界矩形w作为它的元素xrange,yrange。

The function can also be applied to any spatial dataset that has a window: for example, a point pattern (object of class "ppp") or a line segment pattern (object of class "psp"). The bounding rectangle of the window of the dataset is extracted.
该功能也可以被应用到任何空间数据集具有一个窗口:例如,类的对象的点图案("ppp")或类的对象的线段图案("psp")。提取的数据集的窗口的边框。

Use the function bounding.box to compute the smallest bounding rectangle of a dataset.
使用的功能bounding.box计算的数据集的最小矩形。


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

A window (object of class "owin") of type "rectangle" representing a rectangle.
一个窗口(类的对象"owin")类型"rectangle"代表一个矩形。


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

owin, as.owin, bounding.box
owin,as.owin,bounding.box


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


  w <- owin(c(0,10),c(0,10), poly=list(x=c(1,2,3,2,1), y=c(2,3,4,6,7)))
  r <- as.rectangle(w)
  # returns a 10 x 10 rectangle[返回一个10×10的矩形]

  data(lansing)
  as.rectangle(lansing)

  data(copper)
  as.rectangle(copper$SouthLines)

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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