rotate.owin(spatstat)
rotate.owin()所属R语言包:spatstat
Rotate a Window
旋转窗口
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Rotates a window
旋转的窗口
用法----------Usage----------
## S3 method for class 'owin'
rotate(X, angle=pi/2, ..., rescue=TRUE)
参数----------Arguments----------
参数:X
A window (object of class "owin").
一个窗口(类的对象"owin"“)。
参数:angle
Angle of rotation.
旋转角度。
参数:rescue
Logical. If TRUE, the rotated window will be processed by rescue.rectangle.
逻辑。如果TRUE,旋转的窗口将被处理rescue.rectangle。
参数:...
Optional arguments passed to as.mask controlling the resolution of the rotated window, if X is a binary pixel mask. Ignored if X is not a binary mask.
可选参数传递给as.mask控制旋转窗口的分辨率,如果X是一个二进制的像素遮罩。如果忽略X是不是二进制的面具。
Details
详细信息----------Details----------
Rotates the window by the specified angle. Angles are measured in radians, anticlockwise. The default is to rotate the window 90 degrees anticlockwise. The centre of rotation is the origin.
按指定角度旋转的窗口。测量角度的弧度,逆时针。默认值是90度逆时针旋转的窗口。旋转的中心是原点。
值----------Value----------
Another object of class "owin" representing the rotated window.
另一个对象的类"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----------
owin.object
owin.object
实例----------Examples----------
w <- owin(c(0,1),c(0,1))
v <- rotate(w, pi/3)
## Not run: [#不运行:]
plot(v)
## End(Not run)[#(不执行)]
data(letterR)
w <- as.mask(letterR)
v <- rotate(w, pi/5)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|