powered by
Properties of the values of the file that a RasterLayer object points to
dataSize returns the number of bytes used for each value (pixel, grid cell) dataSigned is TRUE for data types that include negative numbers.
dataSize
dataSigned
dataSize(object) dataSigned(object)
varies
Raster* object
filename
r <- raster(system.file("external/test.grd", package="raster")) dataSize(r) dataSigned(r) dataType(r)
Run the code above in your browser using DataLab