Rdocumentation
powered by
Learn R Programming
sp (version 0.7-10)
mapasp: Calculate aspect ratio for plotting geographic maps
Description
Calculate aspect ratio for plotting geographic maps
Usage
mapasp(data)
Arguments
data
object of class
SpatialData
, or a class that extends
SpatialData
such as
SpatialDataFrame
or
SpatialDataFrameGrid
Value
diff(range(y))/diff(range(x)), but then derived from slot(data, "bbox")
See Also
levelplot
in package
lattice