Filled contour plot of a RasterLayer. This is a wrapper around filled.contour for RasterLayer objects.

filledContour(x, y=1, maxpixels=100000, ...)

Arguments

x

A Raster* object

y

Integer. The layer number of x (if x has multiple layers)

maxpixels

The maximum number of pixels

...

Any argument that can be passed to filled.contour (graphics package)

Examples

r <- raster(system.file("external/test.grd", package="raster"))
filledContour(r)