addPump {cholera}R Documentation

Add selected pump(s) to plot.

Description

Add selected pump(s) to plot.

Usage

addPump(pump.select = NULL, vestry = FALSE, col = NULL, pch = 24,
  label = TRUE, pos = 1, cex = 1, latlong = FALSE)

Arguments

pump.select

Numeric or Integer. Vector of water pump numerical ID(s). With vestry = TRUE, whole number(s) between 1 and 14. With vestry = FALSE, whole number(s) between 1 and 13. See pumps.vestry and pumps for IDs and details about specific pumps. NULL plots all pumps. Negative selection allowed.

vestry

Logical. TRUE for the 14 pumps from Vestry Report. FALSE for the original 13 pumps.

col

Character. Color of pump points.

pch

Numeric. Shape of point character.

label

Logical. TRUE adds text label.

pos

Numeric. Position of label.

cex

Numeric. point cex.

latlong

Logical. Use c("lon". "lat") or c("x", "y").


[Package cholera version 0.8.0 Index]