powered by
Checks if x is a raster or sp object
getSpatialClass(obj)
R raster* or sp object
Chris Reudenbach
if (FALSE) { # add path getSpatialClass(x) }
Run the code above in your browser using DataLab