deg_grid | R Documentation |
Outputs a list of grid lines that can be used to plot a grid on maps. Requires a spatial object projected using UTM coordinates
deg_grid( dat, round.lat = FALSE, n.lat.grid = 3, round.lon = FALSE, n.lon.grid = 3, n.points = 30 )
dat |
|
round.lat |
specifying the level of rounding to be used to plot latitude grid lines. Overrides |
n.lat.grid |
number of latitude grid lines. Alternatively use |
round.lon |
specifying the level of rounding to be used to plot longitude grid lines. Overrides |
n.lon.grid |
number of longitude grid lines. Alternatively use |
n.points |
number of points used in creating the grid lines. The more points, the smoother the lines. |
This is an internal function, which is automatically run by the basemap
function. Common users do not need to worry about these details.
Returns a UTM coodrinate grid.
Mikko Vihtakari
basemap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.