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

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

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

                                        Apply Vector Translation To Window
                                         应用矢量翻译窗口

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

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

Applies a vector shift to a window
应用向量转移到一个窗口


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


## S3 method for class 'owin'
shift(X, vec=c(0,0), ..., origin=NULL)



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

参数:X
Window (object of class "owin").
窗口(类的对象"owin")。


参数:vec
Vector of length 2 representing a translation.
矢量长度为2翻译。


参数:...
Ignored
忽视


参数:origin
Character string determining a location that will be shifted to the origin. Options are "centroid", "midpoint" and "bottomleft". Partially matched.   
字符串判定的位置,将被转移到原点。选项"centroid","midpoint"和"bottomleft"。部分匹配。


Details

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

The window is translated by the vector vec. This is a method for the generic function shift.
该窗口被翻译由矢量vec。这是一个方法的通用函数shift。

If origin is given, then it should be one of the character strings "centroid", "midpoint" or "bottomleft". The argument vec will be ignored; instead the shift will be performed so that the specified geometric location is shifted to the origin. If origin="centroid" then the centroid of the window will be shifted to the origin. If origin="midpoint" then the centre of the bounding rectangle of the window will be shifted to the origin. If origin="bottomleft" then the bottom left corner of the bounding rectangle of the window will be shifted to the origin.
origin如果是给定的,那么它应该是一个字符串的"centroid","midpoint"或"bottomleft"。 vec的参数将被忽略,而不是将执行移位,转移到指定的几何位置的起源。如果origin="centroid"然后在窗口的质心将被转移到原点的。如果origin="midpoint"窗口的边界矩形的中心将转移到原点的。如果origin="bottomleft"然后在左下角的窗口的边框将被转移到原点的。


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

Another window (of class "owin") representing the result of applying the vector shift.
另一个窗口(类"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----------

shift, shift.ppp, periodify, rotate, affine, centroid.owin
shift,shift.ppp,periodify,rotate,affine,centroid.owin


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


  W <- owin(c(0,1),c(0,1))
  X <- shift(W, c(2,3))
  ## Not run: [#不运行:]
  plot(W)
  # no discernible difference except coordinates are different[没有明显的差异是不同的,除了坐标]
  
## End(Not run)[#(不执行)]
  shift(W, origin="mid")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-18 05:02 , Processed in 0.023803 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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