is.flipped function

Check for rotation

Check for rotation

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

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

Arguments

  • x: SpatRaster

Returns

logical. One value for each raster data source

See Also

flip, is.rotated

Examples

r <- rast(nrows=10, ncols=10) is.flipped(r)
  • Maintainer: Robert J. Hijmans
  • License: GPL (>= 3)
  • Last published: 2025-02-26