Interactive Exploration of Maps of Class 'SpatialPixelsDataFrame' (requires the package tkrplot)
This interface allows to explore distances, values, etc. on a map of class SpatialPixelsDataFrame
.
explore(ka, coltxt="black", hscale = 1, vscale = 1, panel.last = NULL, ...)
ka
: An object of class kasc
coltxt
: character. the color of the text to be printedhscale
: passed to tkrplotvscale
: passed to tkrplotpanel.last
: an expression to be evaluated after plotting has taken place...
: additional parameters to be passed to the function image
Clement Calenge clement.calenge@ofb.gouv.fr
SpatialPixelsDataFrame-class
for additionnal information on objects of class SpatialPixelsDataFrame
.
## Not run: data(meuse.grid) m <- SpatialPixelsDataFrame(points = meuse.grid[c("x", "y")], data = meuse.grid) explore(m[,3:5]) data(lynxjura) explore(lynxjura$map, panel.last=function() points(lynxjura$locs)) ## End(Not run)
Useful links