Learn R Programming

alcyon

An R package for spatial network analysis. Based on the rdepthmap package and leveraging the sala library from depthmapX

How to install:

install.packages("alcyon")

Windows users might need to also install Rtools

A demonstration of the package took place in the “Space syntax analysis in R” workshop of the 12th International Space Syntax Symposium (SSS12) in China on the 8th of July 2019, the content of which you may find here.

Development:

Make sure that git hooks are enabled, to avoid committing minor issues:

git config --local core.hooksPath .githooks/

Do not change configure directly, instead change configure.ac and run autoconf

To force enable OpenMP if R was not built with it, install the source package with:

install.packages("alcyon", configure.args = "--enable-force-openmp")

Copy Link

Version

Install

install.packages('alcyon')

Monthly Downloads

683

Version

0.7.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Petros Koutsolampros

Last Published

January 21st, 2025

Functions in alcyon (0.7.0)

connections,PointMap-method

Get the PointMap connections
agentAnalysis

Agent Analysis
connections,AxialShapeGraph-method

Get the Axial ShapeGraph connections
VGALocalAlgorithm

VGA Local Analysis algorithms.
isovist2pts

Create isovists using two points
allToAllTraverse

All-to-all traversal
makeVGAPointMap

Create a PointMap grid, fill it and make the graph
linkCoords,PointMap-method

Link two PointMap Cells (coordinates)
linkCoords

Link map points/lines as if selecting them using points
makeVGAGraph

Create a graph between visible cells in the PointMap
connections,SegmentShapeGraph-method

Get the Segment ShapeGraph connections
getTopFeatures

Extract top x percent of features
linkRefs

Link map points/lines using their refs
links,AxialShapeGraph-method

Get the Axial ShapeGraph links
isovist

Create isovists at point and direction angle
connections

Get map connections
name,ShapeMap-method

Get the ShapeMap name
name

Get map name
links,PointMap-method

Get the PointMap links
reduceToFewest

Reduce an All-line Map to two types of fewest-line maps
readMetaGraph

Read MetaGraph
plot.PointMap

plot a PointMap
palettes

Colour Palettes from depthmapX
linkCoords,AxialShapeGraph-method

Link two Axial Lines (coordinates)
oneToAllTraverse

One-to-all traversal
oneToOneTraverse

One-to-one traversal
links

Get map links
shapegraphToGraphData

Conversion of shapegraph to graph data
unlinkAtCrossPoint

Unlink map lines at their crossing point
refIdToIndexAndBack

Ref ID to index and vice-versa
linkRefs,AxialShapeGraph-method

Link two Axial Lines (refs)
shapeMapToPolygonSf

ShapeMap to sf Polygon map
unlinkRefs

Unlink map points/lines using their refs
createGrid

Create a PointMap through a grid
unlinkAtCrossPoint,AxialShapeGraph-method

Unlink two Axial Lines (crosspoint)
unmakeVGAGraph

Unmake the graph in a PointMap
unlinkCoords,PointMap-method

Unlink two PointMap Cells (coordinates)
unlinkCoords

Unlink map points/lines as if selecting them using points
linkRefs,PointMap-method

Link two PointMap Cells (refs)
unlinkCoords,AxialShapeGraph-method

Unlink two Axial Lines (coordinates)
fillGrid

Fill a PointMap's grid starting from one or more points
vgaVisualLocal

Visibility Graph Analysis - Visual local metrics
vgaThroughVision

Visibility Graph Analysis - Through Vision
makeAllLineMap

Create an All-line Map
matchPointsToLines

Match points to lines
unlinkRefs,PointMap-method

Unlink two PointMap Cells (refs)
makeColour

Single Colour from depthmapX's Palettes
unlinkRefs,AxialShapeGraph-method

Unlink two Axial Lines (refs)
name,PointMap-method

Get the PointMap name
vgaIsovist

Visibility Graph Analysis - isovist metrics
ShapeMap-class

ShapeMap class
AxialShapeGraph-class

Axial ShapeGraph
PointMap_subset

Subset PointMap objects
PointMap-class

PointMap
SegmentShapeGraph_subset

Subset SegmentShapeGraph objects
AxialShapeGraph_subset

Subset AxialShapeGraph objects
SegmentShapeGraph-class

Segment ShapeGraph
ShapeMap_subset

Subset ShapeMap objects
AllLineShapeGraph-class

All-line Axial ShapeGraph
AgentLookMode

Agent look modes.
axialToSegmentShapeGraph

Axial to Segment ShapeGraph
axialAnalysisLocal

Axial analysis - local metrics
as

as("sf", "ShapeMap")
TraversalType

Traversal types
blockLines

Block lines on a PointMap