Transpose
Transpose a SpatRaster
## S4 method for signature 'SpatRaster' t(x) ## S4 method for signature 'SpatVector' t(x) ## S4 method for signature 'SpatRaster' trans(x, filename="", ...)
x |
SpatRaster |
filename |
character. Output filename |
... |
additional arguments for writing files as in |
SpatRaster
r <- rast(nrow=18, ncol=36) values(r) <- 1:ncell(r) tr1 <- t(r) tr2 <- trans(r) ttr <- trans(tr2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.