connections,PointMap-method {alcyon}R Documentation

Get the PointMap connections

Description

Get the PointMap connections

Usage

## S4 method for signature 'PointMap'
connections(map)

Arguments

map

A PointMap

Value

A matrix with the connected refs

Examples

mifFile <- system.file(
    "extdata", "testdata", "gallery",
    "gallery_lines.mif",
    package = "alcyon"
  )
  sfMap <- st_read(mifFile,
    geometry_column = 1L, quiet = TRUE
  )
  pointMap <- makeVGAPointMap(
    sfMap,
    gridSize = 0.04,
    fillX = 3.01,
    fillY = 6.7,
    maxVisibility = NA,
    boundaryGraph = FALSE,
    verbose = FALSE
  )
# plot the first 100 connections only
head(connections(pointMap), 100)

[Package alcyon version 0.4.0 Index]