Description Usage Arguments Methods (by class) See Also Examples
The graph.map.plot.position
function allows to plot maps defined as for example SpatialNetwork
or SpatialPolygons
objects, and render the ID numbering.
1 2 3 4 5 6 7 | graph.map.plot.position(x, label = "", ...)
## S4 method for signature 'SpatialPolygons'
graph.map.plot.position(x, label = "", ...)
## S4 method for signature 'SpatialNetwork'
graph.map.plot.position(x, label = "", ...)
|
x |
an object for which a |
label |
a character of length 1 for prefixing seat numbering. |
... |
other arguments to pass to the plot function. The main usage is setting the |
SpatialPolygons
: method for SpatialPolygons
objects.
SpatialNetwork
: method for SpatialNetwork
objects.
Other res: SpatialNetwork-class
1 2 3 4 5 6 | ## The world map
data(world.map.simplified, package = "spnet")
graph.map.plot.position(world.map.simplified)
graph.map.plot.position(world.map.simplified, cex = 0.4)
graph.map.plot.position(world.map.simplified, label = 'ID ', cex = 0.3)
|
Loading required package: sp
Loading required package: shape
Welcome to spnet.
You are running version 0.9.1.0.
For introductory material, type `vignette('spnet-overview')`.
If you use this package in your work, thank you for rewarding our work by citing the package in your own one. Please type `citation('spnet')` for citation information.
Type `?spnet` to display the help index.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.