Description Usage Arguments Value See Also Examples
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.
1 2 | dataSize(object)
dataSigned(object)
|
object |
Raster* object |
varies
1 2 3 4 | r <- raster(system.file("external/test.grd", package="raster"))
dataSize(r)
dataSigned(r)
dataType(r)
|
Loading required package: sp
[1] 4
[1] TRUE
[1] "FLT4S"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.