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

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

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

                                        Class owin
                                         类owin

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

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

A class owin to define the “observation window” of a point pattern
A类owin定义的点模式“观察窗口”


Details

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

In the spatstat library, a point pattern dataset must include information about the window or region in which the pattern was observed. A window is described by an object of class "owin". Windows of arbitrary shape are supported.
一个点模式数据在spatstat库中,必须包括有关窗口或区域的模式。一个窗口类"owin"对象。的任意形状的Windows支持。

An object of class "owin" has one of three types:
一个对象的类"owin"的有三种类型之一:

Objects of class "owin" may be created by the function owin and converted from other types of data by the function as.owin.
对象的类"owin"可以由函数owin创建从其他类型的数据,并转换由该函数as.owin。

They may be manipulated by the functions  as.rectangle, as.mask,  complement.owin, rotate, shift, affine, erosion, dilation, opening and closing.
他们可能被操纵的功能as.rectangle,as.mask,complement.owin,rotate,shift,affine,erosion, dilation,opening和closing。

Geometrical calculations available for windows include area.owin, perimeter, diameter.owin, bounding.box, eroded.areas, bdist.points, bdist.pixels, and even.breaks.owin. The mapping between continuous coordinates and pixel raster indices is facilitated by the functions raster.x, raster.y and nearest.raster.point.
几何计算可用于Windows,包括area.owin,perimeter,diameter.owin,bounding.box,eroded.areas,bdist.points,bdist.pixels和 even.breaks.owin。连续坐标和像素栅格指数的之间的映射的功能是促进了raster.x,raster.y和nearest.raster.point。

There is a plot method for window objects, plot.owin. This may be useful if you wish to plot a point pattern's window without the points for graphical purposes.
有一个plot窗口对象的方法,plot.owin。这可能是有用的,如果你想绘制图形显示,没有点一个点模式的窗口。

There are also methods for summary and print.
也方法summary和print。


警告----------Warnings----------

In a window of type "mask", the  row index corresponds to increasing y coordinate, and the column index corresponds to increasing x coordinate.
在一个窗口中的类型"mask",行索引对应于增加y协调,和列索引对应于增加x坐标。


(作者)----------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, as.rectangle, as.mask, summary.owin, print.owin, complement.owin, erosion, dilation, opening, closing, affine.owin, shift.owin, rotate.owin, raster.x, raster.y, nearest.raster.point, plot.owin, area.owin, bounding.box, diameter, eroded.areas, bdist.points, bdist.pixels
owin,as.owin,as.rectangle,as.mask,summary.owin,print.owin,complement.owin,erosion,dilation,opening,closing,affine.owin,shift.owin,rotate.owin,raster.x,raster.y,nearest.raster.point ,plot.owin,area.owin,bounding.box,diameter,eroded.areas,bdist.points,bdist.pixels


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


w <- owin()
w <- owin(c(0,1), c(0,1))
# the unit square[单位面积]
  
w <- owin(c(0,1), c(0,2))
## Not run: [#不运行:]
plot(w)
# plots edges of a box 1 unit x 2 units[图边缘的一个盒子1单元×2单位]
v <- locator()
# click on points in the plot window[在图形窗口中点击点]
# to be the vertices of a polygon [是一个多边形的顶点]
# traversed in anticlockwise order [走过逆时针顺序]
u <- owin(c(0,1), c(0,2), poly=v)
plot(u)
# plots polygonal boundary using polygon()[图多边形边界的多边形()]
plot(as.mask(u, eps=0.02))
# plots discrete pixel approximation to polygon[图近似的多边形离散像素]

## End(Not run)[#(不执行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-15 23:28 , Processed in 0.020973 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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