Learn R Programming

npsp (version 0.3-6)

data.grid: Gridded data (S3 class "data.grid")

Description

Defines data on a full regular (spatial) grid. Constructor function of the data.grid-class.

Usage

data.grid(..., grid = NULL)

Arguments

...
vectors or arrays of data with length equal to prod(grid$n).
grid
a grid.par-class object (optional).

Value

Returns an object of class data.grid, a list with the arguments as components.

Details

If parameter grid.par is not specified it is set from first argument.

S3 "version" of the SpatialGridDataFrame-class of the sp package.

See Also

grid.par, binning, locpol.