Learn R Programming

alcyon (version 0.7.0)

connections,AxialShapeGraph-method: Get the Axial ShapeGraph connections

Description

Get the Axial ShapeGraph connections

Usage

# S4 method for AxialShapeGraph
connections(map)

Value

A matrix with the connected refs

Arguments

map

An Axial ShapeGraph

Examples

Run this code
mifFile <- system.file(
    "extdata", "testdata", "barnsbury",
    "barnsbury_small_axial_original.mif",
    package = "alcyon"
  )
  sfMap <- st_read(mifFile,
    geometry_column = 1L, quiet = TRUE
  )
  shapeGraph <- as(sfMap, "AxialShapeGraph")
connections(shapeGraph)

Run the code above in your browser using DataLab