axialAnalysisLocal: Axial analysis - local metrics

View source: R/axialAnalysis.R

axialAnalysisLocalR Documentation

Axial analysis - local metrics

Description

Runs axial analysis to get the local metrics Control and Controllability

Usage

axialAnalysisLocal(shapeGraph, copyMap = TRUE, verbose = FALSE)

Arguments

shapeGraph

An Axial ShapeGraph

copyMap

Optional. Copy the internal sala map

verbose

Optional. Show more information of the process.

Value

Returns a list with:

  • completed: Whether the analysis completed

  • newAttributes: The new attributes that were created during the process

Examples

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")
axialAnalysisLocal(shapeGraph)

alcyon documentation built on April 3, 2025, 6:18 p.m.