sohoGraph | R Documentation |
Compute network graph of roads and embed cases, landmarks and pumps (prototype).
sohoGraph(vestry = FALSE, case.set = "observed", embed.addr = TRUE,
embed.landmarks = TRUE, embed.pumps = TRUE, latlong = FALSE,
drop.isolates = FALSE)
vestry |
Logical. Use Vestry Report pump data. |
case.set |
Character. "observed", "expected", or "snow". "snow" captures John Snow's annotation of the Broad Street pump neighborhood printed in the Vestry report version of the map. |
embed.addr |
Logical. Embed all 321 or selected anchor case addresses into graph network. |
embed.landmarks |
Logical or Numeric. Embed all or selected landmarks into road network. |
embed.pumps |
Logical or Numeric. Embed all or selected pumps into road network. |
latlong |
Logical. Use estimated longitude and latitude. |
drop.isolates |
Logical. Exclude Adam and Eve Court (and Pump #2) and Falconberg Court and Mews. |
An R list of nodes, edges and an 'igraph' network graph.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.