connections,SegmentShapeGraph-method {alcyon} | R Documentation |
Get the Segment ShapeGraph connections
Description
Get the Segment ShapeGraph connections
Usage
## S4 method for signature 'SegmentShapeGraph'
connections(map)
Arguments
map |
An Segment ShapeGraph |
Value
A matrix with the connected refs
Examples
mifFile <- system.file(
"extdata", "testdata", "barnsbury",
"barnsbury_small_segment_original.mif",
package = "alcyon"
)
sfMap <- st_read(mifFile,
geometry_column = 1L, quiet = TRUE
)
shapeGraph <- as(sfMap, "SegmentShapeGraph")
connections(shapeGraph)
[Package alcyon version 0.4.0 Index]