CreateCHWplacement.Rd
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
)
raster map containing population densities
raster map containing friction surface
shapefile of the area of interest
name (character) of the MPS file
buffer around current HF
dimension of the radius around the point (same dimension as T.GC, e.g minutes)
name (character) given to the capacity definition (for folder naming purposes)
raster map containing the distance to HF layer
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 number of people per CHW in urban areas
max number of people per CHW in rural areas
maximum number of CHW that can be placed on the same pixel
whether CHW are placed inside the buffer (if FALSE, they are placed outside)
directory where to store the MPS file
a MPS file containing the optimisation program