View source: R/simulateFatalities.R
simulateFatalities | R Documentation |
Places regularly spaced "simulated" or "expected" cases across the face of the map and then finds the "addresses" of those cases via orthogonal projection or simple proximity to road graph network. These data are used to generate "expected" pump neighborhoods.
simulateFatalities(recompute.regular.cases = FALSE, simulated.obs = 20000L,
multi.core = TRUE)
recompute.regular.cases |
Logical. |
simulated.obs |
Numeric. Number of regular cases. For use with |
multi.core |
Logical or Numeric. |
An R data frame: sim.ortho.proj
.
This function is computationally intensive. With "simulated.obs" set to 20,000 (generating 19,993 cases). This function documents the code that generates sim.ortho.proj
and regular.cases
. In real world terms, the distance between simulated cases is approximately 6 meters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.