is.flipped: Is a SpatRaster is flipped

is.flippedR Documentation

Is a SpatRaster is flipped

Description

Check if a SpatRaster is "flipped" vertically, and may need to be adjusted with flip before it can be used.

Usage

## S4 method for signature 'SpatRaster'
is.flipped(x)

Arguments

x

SpatRaster

Value

logical. One value for each raster data *source*

See Also

flip, is.rotated

Examples

r <- rast(nrows=10, ncols=10)
is.flipped(r)

terra documentation built on Jan. 12, 2026, 9:07 a.m.