addCase | R Documentation |
Add case(s), as "address" or "fatalities" as points or IDs, to a plot.
addCase(case = 1, type = "observed", token = "both", text.size = 0.5, pch = 1, cex = 1, point.lwd = 2, col = "black", pos = 1)
case |
Numeric or Character. Vector of case ID(s). "all" plots all cases. "anchor" plots anchor cases. |
type |
Character. Type of case: "observed" or "expected". |
token |
Character. Type of token to plot: "point", "id" or "both". |
text.size |
Numeric. Size of case ID text. |
pch |
Numeric. pch. |
cex |
Numeric. cex. |
point.lwd |
Numeric. Point lwd. |
col |
Character. Color. |
pos |
Numeric. Text position. |
type, token, text.size, pch, cex, point.lwd and pos relevant only when case is numeric.
snowMap(add.cases = FALSE) addCase(1) snowMap(add.cases = FALSE) addCase(100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.