powered by
## S3 method for class 'psp': shift(X, vec=c(0,0), ...)
"psp"
vec
shift
shift.owin
shift.ppp
rotate
affine
X <- psp(runif(10), runif(10), runif(10), runif(10), window=owin()) plot(X, col="red") Y <- shift(X, c(0.05,0.05)) plot(Y, add=TRUE, col="blue")
Run the code above in your browser using DataLab