powered by
Rotate image by an arbitrary angle, around a center point.
rotate_xy(im, angle, cx, cy, interpolation = 1L, boundary_conditions = 0L)
an image
Rotation angle, in degrees.
X-coordinate of the rotation center.
Y-coordinate of the rotation center.
Interpolation type. 0=nearest | 1=linear | 2=cubic
Boundary conditions. 0=dirichlet | 1=neumann | 2=periodic
rotate_xy(boats,30,200,400) %>% plot rotate_xy(boats,30,200,400,boundary=2) %>% plot
Run the code above in your browser using DataLab