Defines data on a full regular (spatial) grid.
Constructor function of the data.grid
-class
.
data.grid( ..., grid = NULL, window = NULL, mask = NULL, set.NA = FALSE, warn = FALSE )
... | vectors or arrays of data with length equal to |
---|---|
grid | |
window | spatial window (values outside this window will be masked), currently an sp-object of class
extending |
mask | logical; vector (or array) indicating the selected values (not masked). |
set.NA | logical; If |
warn | logical; If |
Returns an object of class
data.grid
, a list with
the arguments as components.
If parameter grid.par
is not specified it is set from first argument.
S3 "version" of the SpatialGridDataFrame
-class
of the sp package.
as.data.grid
, grid.par
, codemask,
binning
, locpol
.