adjacency_mat: Binary Adjacency Matrix

adjacency_matR Documentation

Binary Adjacency Matrix

Description

A binary adjacency matrix (B) generated from a 6x6 regular grid using Queen contiguity. This matrix is mathematically suitable for the Leroux Conditional Autoregressive (CAR) model.

Usage

data(adjacency_mat)

Format

A 36 x 36 numeric matrix. The elements take a value of 1 if two areas share a common border (are neighbors), and 0 otherwise. All diagonal elements are 0.


saeHB.Spatial.Beta documentation built on July 1, 2026, 5:07 p.m.