View source: R/CreateReadCHWplacement.R
CreateCHWplacement | R Documentation |
This function combined the different rasters and shapefiles needed to create the optimisation program
CreateCHWplacement( population.raster, friction.raster, shp, name, buffer, radius, capacity.name = "MSPP", access.raster, popurb.raster, max.treat.per.CHW.urban = 2500, max.treat.per.CHW.rural = 1000, max.CHW.per.pixel, is.inside = FALSE, filepath )
population.raster |
raster map containing population densities |
friction.raster |
raster map containing friction surface |
shp |
shapefile of the area of interest |
name |
name (character) of the MPS file |
buffer |
buffer around current HF |
radius |
dimension of the radius around the point (same dimension as T.GC, e.g minutes) |
capacity.name |
name (character) given to the capacity definition (for folder naming purposes) |
access.raster |
raster map containing the distance to HF layer |
popurb.raster |
raster map containing the urban population layer (urban pixels show the population in the pixel and the rural pixels are NA). Can be created with DefineUrban. |
max.treat.per.CHW.urban |
max number of people per CHW in urban areas |
max.treat.per.CHW.rural |
max number of people per CHW in rural areas |
max.CHW.per.pixel |
maximum number of CHW that can be placed on the same pixel |
is.inside |
whether CHW are placed inside the buffer (if FALSE, they are placed outside) |
filepath |
directory where to store the MPS file |
a MPS file containing the optimisation program
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.