Learn R Programming

reproducible (version 3.2.1)

.isGridded: Some spatial helper functions

Description

Some spatial helper functions

Usage

.isGridded(x)

.isVector(x)

.isSF(x)

.isSpat(x)

.isSpatialAny(x)

.isCRSany(x)

Value

Logical.

Arguments

x

A spatial object.

Details

.isGridded returns TRUE if the object is a SpatRaster or Raster

.isVector returns TRUE if the object is SpatVector, spatial or sf

.isSF returns TRUE if the object is sf or sfc

.isSpat returns TRUE if the object is SpatVector or SpatRaster

.isSpatialAny returns TRUE if the object returns TRUE for .isGridded or .isVector