powered by
## S3 method for class 'lpp': affine(X, mat=diag(c(1,1)), vec=c(0,0), ...) ## S3 method for class 'lpp': shift(X, \dots) ## S3 method for class 'lpp': rotate(X, angle=pi/2, \dots) ## S3 method for class 'lpp': scalardilate(X, f, \dots) ## S3 method for class 'lpp': rescale(X, s)
## S3 method for class 'lpp': shift(X, \dots)
## S3 method for class 'lpp': rotate(X, angle=pi/2, \dots)
## S3 method for class 'lpp': scalardilate(X, f, \dots)
## S3 method for class 'lpp': rescale(X, s)
"lpp"
s
affine
shift
rotate
rescale
scalardilate
All of these functions perform geometrical transformations on the object X, except for rescale, which simply rescales the units of length.
X
lpp
X <- rpoislpp(2, simplenet) U <- rotate(X, pi) stretch <- diag(c(2,3)) Y <- affine(X, mat=stretch) shear <- matrix(c(1,0,0.6,1),ncol=2, nrow=2) Z <- affine(X, mat=shear, vec=c(0, 1))
Run the code above in your browser using DataLab