I am new to INLA and currently wok on the tutorial. How could I view/read the adjancency matirx nc.nb as below?
#Load data from a shapefile included in the spdep package
nc.sids <- readShapePoly(system.file("etc/shapes/sids.shp", package="spdep")[1])
#Create adjacency matrix
nc.nb <- poly2nb(nc.sids)
#Convert the adjacency matrix into a file in the INLA format
nb2INLA("nc.adj", nc.nb)
#Create areas IDs to match the values in nc.adj
nc.sids$ID<-1:100
m1<-inla(SID74~NWPROP+f(nc.sids$ID, model="besag", graph="nc.adj"),
family="poisson", E=nc.sids$EXP, data=as.data.frame(nc.sids),
control.predictor=list(compute=TRUE))