Description Usage Details Examples
The popDataAdjMat
Data set contains the adjacency matrix which calculated from the poly2nb
function.
1 | data('popDataAdjMat')
|
It is a adjacency matrix denoting the neighbours of Ontario census subdivisions.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
library('diseasemapping')
data('popdata')
popDataAdjMat = spdep::poly2nb(popdata,
row.names=as.character(popdata$CSDUID))
## End(Not run)
data('popDataAdjMat')
summary(popDataAdjMat)
attributes(popDataAdjMat)$region.id[1:10]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.