powered by
RasterArray
SpatialArray
Convert RasterArray class objects to data.frames allowing View(), head() and tail() to work.
# S3 method for RasterArray as.data.frame(x, row.names = NULL, optional = FALSE, ...)# S3 method for SpatialArray as.data.frame(x, row.names = NULL, optional = FALSE, ...)
# S3 method for SpatialArray as.data.frame(x, row.names = NULL, optional = FALSE, ...)
A data.frame class object.
data.frame
a RasterArray and SpatialArray class object.
Argument to define the rownames of the resulting data.frame.
logical Flag to reset the rownames and colnaems attributes.
logical
additional arguments passed to and from methods.
Formal conversion method transforming the proxy object to a data.frame.
data(dems) df <- as.data.frame(dems)
Run the code above in your browser using DataLab