connections,SegmentShapeGraph-method | R Documentation |
Get the Segment ShapeGraph connections
## S4 method for signature 'SegmentShapeGraph'
connections(map)
map |
An Segment ShapeGraph |
A matrix with the connected refs
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.