Introduction

{networksf} provides data structures and routines facilitating spatial network analysis using {statnet}’s {network} and {sf}.

Goals

  • flexible data structures to describe complex spatial networks
  • arbitrary geometries to represent vertices, edges, and entire networks
  • powerful and efficient spatial network analysis routines
  • simple interoperability with relevant tools from R’s network and spatial ecosystems

Installation

if (!requireNamespace("remotes", quietly = TRUE)) install.packages("remotes")

remotes::install_github("knapply/networksf")

Usage

library(networksf)