rotate.psp(spatstat)
rotate.psp()所属R语言包:spatstat
Rotate a Line Segment Pattern
旋转直线段模式
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Rotates a line segment pattern
旋转的线段图案
用法----------Usage----------
## S3 method for class 'psp'
rotate(X, angle=pi/2, ...)
参数----------Arguments----------
参数:X
A line segment pattern (object of class "psp").
一个线段模式(类的对象"psp")。
参数:angle
Angle of rotation.
旋转角度。
参数:...
Arguments passed to rotate.owin affecting the handling of the observation window, if it is a binary pixel mask.
参数传递给rotate.owin影响的观察窗的处理,如果它是一个二进制象素掩模。
Details
详细信息----------Details----------
The line segments of the pattern, and the window of observation, are rotated about the origin by the angle specified. Angles are measured in radians, anticlockwise. The default is to rotate the pattern 90 degrees anticlockwise. If the line segments carry marks, these are preserved.
线段的图案,和观察窗口,是由指定的角度绕原点旋转。测量角度的弧度,逆时针。默认值是90度逆时针旋转模式。如果线段进行标记,这些都将保留。
值----------Value----------
Another object of class "psp" representing the rotated line segment pattern.
另一个对象类"psp"代表旋转线段模式的。
(作者)----------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----------
psp.object, rotate.owin, rotate.ppp
psp.object,rotate.owin,rotate.ppp
实例----------Examples----------
oldpar <- par(mfrow=c(2,1))
X <- psp(runif(10), runif(10), runif(10), runif(10), window=owin())
plot(X, main="original")
Y <- rotate(X, pi/4)
plot(Y, main="rotated")
par(oldpar)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|