unstackFatalities {cholera} | R Documentation |
Unstack "stacks" in Snow's cholera map.
Description
Unstacks fatalities data by 1) assigning the coordinates of the base case to all cases in a stack and 2) setting the base case as an "address" and making the number of fatalities an attribute.
Usage
unstackFatalities(multi.core = TRUE, compute = FALSE, dev.mode = FALSE)
Arguments
multi.core |
Logical or Numeric. |
compute |
Logical. |
dev.mode |
Logical. Development mode uses parallel::parLapply(). |
Value
An R list that includes anchor.case
, fatalities.address
, fatalities.unstacked
and ortho.proj
.
Note
This function is computationally intensive. This function documents the code that generates anchor.case
, fatalities.address
, fatalities.unstacked
and ortho.proj
.
See Also
vignette("unstacking.fatalities")