View source: R/addNeighborhoodWalking.R
addNeighborhoodWalking | R Documentation |
Add walking neighborhoods.
addNeighborhoodWalking(pump.select = NULL, vestry = FALSE,
weighted = TRUE, case.set = "expected", latlong = FALSE,
type = "area.polygons", tsp.method = "repetitive_nn", path.width = 2,
alpha.level = 0.5, polygon.type = "solid", polygon.col = NULL,
polygon.lwd = 2, multi.core = FALSE)
pump.select |
Numeric. Vector of numeric pump IDs to define pump neighborhoods (i.e., the "population"). Negative selection possible. |
vestry |
Logical. |
weighted |
Logical. |
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. |
latlong |
Logical. |
type |
Character. "roads", "area.points" or "area.polygons". "area" flavors only valid when |
tsp.method |
Character. Traveling salesperson problem algorithm. |
path.width |
Numeric. Set width of paths. |
alpha.level |
Numeric. Alpha level transparency for area plot: a value in [0, 1]. |
polygon.type |
Character. "border" or "solid". |
polygon.col |
Character. |
polygon.lwd |
Numeric. |
multi.core |
Logical or Numeric. |
## Not run:
streetNameLocator("marshall street", zoom = 0.5)
addNeighborhoodWalking()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.