S3 class data.grid
methods.
as.data.grid(object, ...)
# S3 method for class 'SpatialGridDataFrame'
as.data.grid(object, data.ind = NULL, ...)
# S3 method for class 'data.grid'
as.data.frame(
x,
row.names = NULL,
optional = FALSE,
data.ind = NULL,
coords = FALSE,
sp = FALSE,
check.names = coords,
...
)
(gridded data) used to select a method.
further arguments passed to data.grid
.
integer or character vector with the indexes or names of the components.
a data.grid
object.
NULL
, column to be used as row names, or vector giving the row names for the data frame.
logical; Not currently used (see as.data.frame
).
logical; if TRUE
, the (spatial) coordinates of the object are added.
logical; if TRUE
, the second dimension of the data is reversed
(as it is stored in sp package).
logical; if TRUE
, the names of the variables in the data
frame are checked and adjusted if necessary.