Plots a rasterLayer or rasterStack

plotRaster(r, title = character(0), centerColorBar = FALSE, ncol = NULL)

Arguments

r

rasterLayer or rasterStack

title

title text of plot(s)

centerColorBar

logical: center colobar around 0 and use RdBuTheme()?

ncol

number of columns to plot a stack, by default estimated by the square root

Value

Plots the rasters

Examples

plotRaster(dem)