View source: R/addNeighborhoodCases.R
addNeighborhoodCases | R Documentation |
Add cases to a plot as "nominal" or "fatalities" and as points or IDs.
addNeighborhoodCases(pump.subset = NULL, pump.select = NULL,
metric = "walking", case.set = "observed", location = "nominal",
token = "point", text.size = 0.5, pch = 16, point.size = 0.5,
vestry = FALSE, weighted = TRUE, color = NULL, alpha.level = 0.5,
latlong = FALSE, multi.core = TRUE)
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. |
metric |
Character. Type of neighborhood: "euclidean" or "walking". |
case.set |
Character. "observed" or "expected". |
location |
Character. "nominal", "anchor" or "orthogonal". |
token |
Character. Type of token to plot: "point" or "id". |
text.size |
Numeric. Size of case ID text. |
pch |
Numeric. |
point.size |
Numeric. |
vestry |
Logical. |
weighted |
Logical. |
color |
Character. Use a single color for all paths. |
alpha.level |
Numeric. Alpha level transparency for area plot: a value in [0, 1]. |
latlong |
Logical. Longitude and latitude coordinates. |
multi.core |
Logical or Numeric. |
## Not run:
snowMap(add.cases = FALSE)
addNeighborhoodCases()
snowMap(add.cases = FALSE)
addNeighborhoodCases(pump.subset = c(6, 10))
snowMap(add.cases = FALSE)
addNeighborhoodCases(pump.select = c(6, 10))
snowMap(add.cases = FALSE, latlong = TRUE)
addNeighborhoodCases(latlong = TRUE)
snowMap(add.cases = FALSE, latlong = TRUE)
addNeighborhoodCases(pump.subset = c(6, 10), latlong = TRUE)
snowMap(add.cases = FALSE, latlong = TRUE)
addNeighborhoodCases(pump.select = c(6, 10), latlong = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.