getSpatialClass function

Checks if x is of type raster,terra,sf or sp

Checks if x is of type raster,terra,sf or sp

Checks if x is a raster or sp object

getSpatialClass(obj)

Arguments

  • obj: R raster* or sp object

Examples

## Not run: # add path getSpatialClass(x) ## End(Not run)

Author(s)

Chris Reudenbach

  • Maintainer: Chris Reudenbach
  • License: GPL (>= 3) | file LICENSE
  • Last published: 2024-10-28