gmGeostats (version 0.10-6)

getMask: Get the mask info out of a spatial data object

Description

Retrieve the mask information from an object (if present). See constructMask() for examples.

Usage

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)

Arguments

x

a masked object

Value

The retrieved mask information from x, an object of class "mask"

Methods (by class)

  • 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

See Also

Other masking functions: constructMask(), print.mask(), setMask(), unmask()