mapasp {sp} | R Documentation

## 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`

[Package sp version 0.7-12 Index]