landkreis: Administrative districts of Germany

Description Usage Arguments Details Author(s) References See Also Examples

Description

Displaying data over the administrative districts of Germany

Usage

1
2
map.landkreis(data, col=NULL, zlim=range(data), add=FALSE,
              legendpos=c( 0.88,0.9,0.05,0.4))

Arguments

data

vector of length 544

col

color scheme to be used. By default uses tim.colors if available or a generic gray scale.

zlim

the minimum and maximum values for which colors should be plotted, defaulting to the range of data.

add

logical, if true adds to current plot.

legendpos

if package fields is loaded, puts a legend at that position.

Details

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.

Author(s)

Reinhard Furrer

References

The code of map.landkreis is very similar to germany.map from the package INLA.

See Also

germany.plot super-seeding map.landkreis.

Examples

1
2
3
4
5
6
7
## Not run: 
data( Oral)
par( mfcol=c(1,2))
germany.plot( log( Oral$Y), legend=TRUE)
map.landkreis( log( Oral$Y))

## End(Not run)

Example output

Loading required package: dotCall64
Loading required package: grid
Spam version 2.1-1 (2017-07-02) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction 
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.

Attaching package: 'spam'

The following objects are masked from 'package:base':

    backsolve, forwardsolve

spam documentation built on June 24, 2018, 5:05 p.m.