Apply Vector Translation
Applies a vector shift of the plane to a geometrical object, such as a point pattern or a window.
- Any suitable dataset representing a two-dimensional
object, such as a point pattern (object of class
"ppp"), or a window (object of class
- Vector of length 2 representing a translation.
The object is translated by the vector
- Another object of the same type, representing the result of applying the shift.
data(cells) X <- shift(cells, c(2,3)) plot(X) # no discernible difference except coordinates are different
Looks like there are no examples yet.