transpose: Transpose

Description Usage Arguments Value See Also Examples

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)
values(r) <- 1:ncell(r)
rt <- t(r)

Example output

Loading required package: sp

raster documentation built on Jan. 5, 2021, 3:01 a.m.