Retrieve the mask information from an object (if present). See constructMask()
for examples.
getMask(x)# S3 method for default
getMask(x)
# S3 method for SpatialPixelsDataFrame
getMask(x)
# S3 method for SpatialPixels
getMask(x)
# S3 method for SpatialPointsDataFrame
getMask(x)
a masked object
The retrieved mask information from x, an object of class "mask"
default: Get the mask info out of a spatial data object
SpatialPixelsDataFrame: Get the mask info out of a SpatialPixelsDataFrame data object
SpatialPixels: Get the mask info out of a SpatialPixels object
SpatialPointsDataFrame: Get the mask info out of a SpatialPointsDataFrame data object
Other masking functions:
constructMask(),
print.mask(),
setMask(),
unmask()