Skip to contents

Make an adjacency matrix from an sf object

Usage

AdjacencyMatrix(reaches)

Arguments

reaches

a sf object with LINESTRING geometry representing a stream network

Value

an adjacency matrix used by INLA for spatial relationships