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

View source: R/mask.R

getMaskR Documentation

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)

## Default S3 method:
getMask(x)

## S3 method for class 'SpatialPixelsDataFrame'
getMask(x)

## S3 method for class 'SpatialPixels'
getMask(x)

## S3 method for class '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()


gmGeostats documentation built on April 18, 2023, 5:08 p.m.