powered by
t(x)
flip, rotate
r <- raster(nrow=18, ncol=36) r[] <- 1:ncell(r) rt <- t(r)
Run the code above in your browser using DataLab