Generate an epidmap object with population distributed into spatial units laid on a n-by-n regular squared lattice grid.
genmap(n = 5, p = c(10, 50), verbose = T)
| n | A positive integer. Grid dimension |
|---|---|
| p | A positive integer. People density for each tile - min/max - uniform distribution |
| verbose | A logical |
An epidmap object
For the map generation we considered a population distributed into spatial units laid on a n-by-n regular squared lattice grid. Each square of the grid contains a number of individuals randomly drawn from a uniform distribution ranging between the two values contained in the vector p. This geographical representation is very general in that the map thus generated can represent, e. g., a city divided into blocks or a region divided into smaller spatial union or any other meaningful geographical partition.