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