Output spatial neighbours for INLA

Share:

Description

Output spatial neighbours for INLA

Usage

1

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.

Author(s)

Virgilio Gomez-Rubio

References

http://www.r-inla.org

Examples

1
2
3
example(columbus)
td <- tempdir()
x <- nb2INLA(paste(td, "columbus-INLA.adj", sep="/"), col.gal.nb)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.