adjacency.Rd
Constructing the adjacency graph of the administrative districts of Germany
adjacency.landkreis(loc)
location of the graph structure, can be an URL.
The function is included as an example on how to construct adjacency matrices form a (common) adjacency structure. For the particular example, note that the nodes are not numbered consecutively and that they start from zero.
a sparse matrix in spam
format.
The adjacency data has been provided by Havard Rue and is also available in INLA.
germany.plot
super-seeding map.landkreis
for plotting.Oral
.
if (FALSE) {
loc <- system.file("demodata/germany.adjacency", package="spam")
display( adjacency.landkreis( loc))
}