map.landkreis | R Documentation |
Displaying data over the administrative districts of Germany
map.landkreis(data, col=NULL, zlim=range(data), add=FALSE,
legendpos=c( 0.88,0.9,0.05,0.4))
data |
vector of length 544 |
col |
color scheme to be used. By default uses |
zlim |
the minimum and maximum values for which colors should be
plotted, defaulting to the range of |
add |
logical, if true adds to current plot. |
legendpos |
if package fields is loaded, puts a legend at that position. |
The function germany.plot
super-seeds
map.landkreis
(it is several factors faster).
The perfect position of the legend is an art per se and depends on
various par
parameters. See also the source code of the function
image.plot
of fields.
Reinhard Furrer
The code of map.landkreis
is very similar to
germany.map
from the package INLA.
germany.plot
super-seeding map.landkreis
.
## Not run:
data( Oral)
par( mfcol=c(1,2))
germany.plot( log( Oral$Y), legend=TRUE)
map.landkreis( log( Oral$Y))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.