rotate(X, angle=pi/2)
"ppp"
),
or a window (object of class "owin"
).X
through the specified angle.rotate.ppp
)
and windows (rotate.owin
).The angle of rotation is measured in radians, anticlockwise, and the centre of rotation is the origin.
rotate.ppp
,
rotate.owin
data(cells)
X <- rotate(cells, pi/3)
plot(X)
plot(rotate(cells$window, pi/4))
Run the code above in your browser using DataLab