properties: Raster file properties

Description Usage Arguments Value See Also Examples

Description

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.

Usage

1
2
dataSize(object)
dataSigned(object)

Arguments

object

Raster* object

Value

varies

See Also

filename

Examples

1
2
3
4
r <- raster(system.file("external/test.grd", package="raster"))
dataSize(r)
dataSigned(r)
dataType(r)

Example output

Loading required package: sp
[1] 4
[1] TRUE
[1] "FLT4S"

raster documentation built on Jan. 5, 2021, 3:01 a.m.