powered by
Given a path to a file raster, this function will plot it as a RasterLayer object.
RasterLayer
plot_layer(x, ...)
Nothing.
A file path to a raster stored on disk. Can also be a Raster* object.
Raster*
Additional arguments to plot.
plot
# \donttest{ # Load data set file path dem <- system.file("extdata", "dem.tif", package = "rdwplus") # Plot # MAY NEED TO HAVE rgdal INSTALLED FOR .TIF FILES plot_layer(dem) # }
Run the code above in your browser using DataLab