powered by
shift(X, vec=c(0,0))
"ppp"
"owin"
shift.ppp
shift.owin
The object is translated by the vector vec.
vec
rotate
affine
library(spatstat) data(cells) X <- shift(cells, c(2,3)) plot(X) # no discernible difference except coordinates are different
Run the code above in your browser using DataLab