powered by
Transpose a Raster* object
t(x)
a Raster* object
RasterLayer or RasterBrick
transpose: flip, rotate
flip, rotate
# NOT RUN { r <- raster(nrow=18, ncol=36) values(r) <- 1:ncell(r) rt <- t(r) # }
Run the code above in your browser using DataLab