subsetmap is used to store a part of any given map of class SpatialPixelsDataFrame into an other object.
subsetmap(x, xlim =NULL, ylim =NULL,...)
Arguments
x: an object of class SpatialPixelsDataFrame
xlim: numerical vector of length 2. The x limits of the rectangle including the new map
ylim: numerical vector of length 2. The y limits of the rectangle including the new map
...: further arguments passed to or from other methods
Details
If xlim or ylim are not provided, the function asks the user to click on the map to delimit the lower left corner and the higher right corner of the new map (see Examples).