Transpose a Raster* object

t(x)

Arguments

x

a Raster* object

Value

RasterLayer or RasterBrick

See also

transpose: flip, rotate

Examples

r <- raster(nrow=18, ncol=36)
values(r) <- 1:ncell(r)
rt <- t(r)