Places regularly spaced "simulated" or "expected" cases across the face of the map. The function finds the "addresses" of cases via orthogonal projection or simple proximity. These data are used to generate "expected" pump neighborhoods. The function relies on sp::spsample() and sp::Polygon().
simulateFatalities(compute = FALSE, multi.core = TRUE,
simulated.obs = 20000L, dev.mode = FALSE)An R list with two elements: sim.ortho.proj and regular.cases
Logical. TRUE computes data. FALSE uses pre-computed data. For replication of data used in the package,
Logical or Numeric. TRUE uses parallel::detectCores(). FALSE uses one, single core. With Numeric, you specify the number logical cores (rounds with as.integer()). See vignette("Parallelization") for details.
Numeric. Number of sample cases.
Logical. Development mode uses parallel::parLapply().