Transpose

Description

Transpose a Raster* object

Usage

1
t(x)

Arguments

x

a Raster* object

Value

RasterLayer or RasterBrick

See Also

transpose: flip, rotate

Examples

1
2
3
r <- raster(nrow=18, ncol=36)
r[] <- 1:ncell(r)
rt <- t(r)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.