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 Oct. 12, 2021, 1:06 a.m.