View source: R/allToAllTraverse.R
| vgaThroughVision | R Documentation |
Runs Visibility Graph Analysis to get the Through Vision metric
vgaThroughVision(latticeMap, copyMap = TRUE)
latticeMap |
A LatticeMap |
copyMap |
Optional. Copy the internal sala map |
A new LatticeMap with the results included
mifFile <- system.file(
"extdata", "testdata", "simple",
"simple_interior.mif",
package = "alcyon"
)
sfMap <- st_read(mifFile,
geometry_column = 1L, quiet = TRUE
)
latticeMap <- makeVGALatticeMap(
sfMap,
gridSize = 0.5,
fillX = 3.0,
fillY = 6.0,
maxVisibility = NA,
boundaryGraph = FALSE,
verbose = FALSE
)
vgaThroughVision(latticeMap)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.