Learn R Programming

alcyon (version 0.7.0)

axialAnalysisLocal: Axial analysis - local metrics

Description

Runs axial analysis to get the local metrics Control and Controllability

Usage

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

Value

Returns a list with:

  • completed: Whether the analysis completed

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

Arguments

shapeGraph

An Axial ShapeGraph

copyMap

Optional. Copy the internal sala map

verbose

Optional. Show more information of the process.

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

Run the code above in your browser using DataLab