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)
x
: an object of class SpatialPixelsDataFrame
var
: The names or index of the variables to be plottedcol
: a vector of colors to be used for plottingmfrow
: The parameter mfrow
for the resulting graph (see help(par)
Clement Calenge clement.calenge@ofb.gouv.fr
par
for information about mfrow
, and SpatialPixelsDataFrame-class
for additionnal information on objects of class SpatialPixelsDataFrame
.
data(lynxjura) lynxjura$map mimage(lynxjura$map) mimage(lynxjura$map, c("forets", "routes"), col=grey(seq(0,1, length=100)))
Useful links