mimage function

Displaying Multi-layer Raster Maps

Displaying Multi-layer Raster Maps

This function allows to display the whole content of an object of class SpatialPixelsDataFrame

mimage(x, var = names(slot(x, "data")), col = gray((240:1)/256), mfrow = NULL)

Arguments

  • x: an object of class SpatialPixelsDataFrame
  • var: The names or index of the variables to be plotted
  • col: a vector of colors to be used for plotting
  • mfrow: The parameter mfrow for the resulting graph (see help(par)

Author(s)

Clement Calenge clement.calenge@ofb.gouv.fr

See Also

par for information about mfrow, and SpatialPixelsDataFrame-class for additionnal information on objects of class SpatialPixelsDataFrame.

Examples

data(lynxjura) lynxjura$map mimage(lynxjura$map) mimage(lynxjura$map, c("forets", "routes"), col=grey(seq(0,1, length=100)))
  • Maintainer: Clement Calenge
  • License: GPL (>= 2)
  • Last published: 2024-09-06

Useful links