Description Usage Arguments Value Author(s) See Also Examples
This function creates a raster-object from different types of input data set, such as GeoTiff, Erdas Imagine and ESRI.
1 | read.raster(dataset, ...)
|
dataset |
(character scalar) Filename of the data set to import. |
... |
Further arguments passed to the function, see |
A raster-object.
Michael Dietze
1 2 3 4 5 6 | # infer filename of an example data set
filename <- system.file("external/test.grd", package="raster")
# import and plot the example data set as raster object
raster <- read.raster(filename)
plot(raster)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.