read.raster: Function to import raster files.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/read.raster.R

Description

This function creates a raster-object from different types of input data set, such as GeoTiff, Erdas Imagine and ESRI.

Usage

1
read.raster(dataset, ...)

Arguments

dataset

(character scalar) Filename of the data set to import.

...

Further arguments passed to the function, see raster

Value

A raster-object.

Author(s)

Michael Dietze

See Also

write.raster

Examples

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)

coffeemuggler/RCHILD documentation built on Dec. 31, 2020, 10:05 p.m.