weights_from_adjacency: Construct spatial weights matrix
Description
Construct spatial weights matrix
Usage
weights_from_adjacency(
A,
style = c("binary", "row-standardized"),
symmetrize = FALSE
)Value
Sparse weight matrix.
Arguments
- A
Adjacency matrix.
- style
One of "binary" or "row-standardized".
- symmetrize
Passed to adjacency coercion.