Learn R Programming

adehabitatMA (version 0.3.17)

explore: Interactive Exploration of Maps of Class 'SpatialPixelsDataFrame' (requires the package tkrplot)

Description

This interface allows to explore distances, values, etc. on a map of class SpatialPixelsDataFrame.

Usage

explore(ka, coltxt="black",
        hscale = 1, vscale = 1,
        panel.last = NULL, ...)

Arguments

ka

An object of class kasc

coltxt

character. the color of the text to be printed

hscale

passed to tkrplot

vscale

passed to tkrplot

panel.last

an expression to be evaluated after plotting has taken place

...

additional parameters to be passed to the function image

Author

Clement Calenge clement.calenge@ofb.gouv.fr

See Also

SpatialPixelsDataFrame-class for additionnal information on objects of class SpatialPixelsDataFrame.

Examples

Run this code
if (FALSE) {

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))


}

Run the code above in your browser using DataLab