addNeighborhoodWalking {cholera} | R Documentation |
Add expected walking neighborhoods.
Description
Add expected walking neighborhoods.
Usage
addNeighborhoodWalking(pump.subset = NULL, pump.select = NULL,
vestry = FALSE, weighted = TRUE, path = NULL, path.color = NULL,
path.width = 3, alpha.level = 0.25, polygon.type = "solid",
polygon.col = NULL, polygon.lwd = 2, multi.core = TRUE,
dev.mode = FALSE, latlong = FALSE)
Arguments
pump.subset |
Numeric. Vector of numeric pump IDs to subset from the neighborhoods defined by |
pump.select |
Numeric. Numeric vector of pump IDs that define which pump neighborhoods to consider (i.e., specify the "population"). Negative selection possible. |
vestry |
Logical. |
weighted |
Logical. |
path |
Character. "expected" or "observed". |
path.color |
Character. Use a single color for all paths. |
path.width |
Numeric. Set width of paths. |
alpha.level |
Numeric. Alpha level transparency for area plot: a value in [0, 1]. |
polygon.type |
Character. "perimeter" or "solid". |
polygon.col |
Character. |
polygon.lwd |
Numeric. |
multi.core |
Logical or Numeric. |
dev.mode |
Logical. Development mode uses parallel::parLapply(). |
latlong |
Logical. Use estimated longitude and latitude. |
Examples
## Not run:
streetNameLocator("marshall street", zoom = 0.5)
addNeighborhoodWalking()
## End(Not run)