nb2INLA

0th

Percentile

Output spatial neighbours for INLA

Output spatial neighbours for INLA

Keywords
spatial
Usage
nb2INLA(file, nb)
Arguments
file
file where adjacency matrix will be stored
nb
an object of class nb
Value

Nothing is returned but a file will be created with the representation of the adjacency matrix as required by INLA for its spatial models.

References

http://www.r-inla.org

Aliases
  • nb2INLA
Examples
example(columbus)
td <- tempdir()
x <- nb2INLA(paste(td, "columbus-INLA.adj", sep="/"), col.gal.nb)
Documentation reproduced from package spdep, version 0.6-9, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.