solve_CHWplacement_wrapper | R Documentation |
This function is a wrapper on solve_CHWplacement that can control execution time
solve_CHWplacement_wrapper( population.raster, friction.raster, shp, buffer, access.raster, radius, capacity.name, popurb.raster, name, is.inside = F, write = F, filepath, mytimeout = 10 )
population.raster |
raster map containing population densities |
friction.raster |
raster map containing friction surface |
shp |
shapefile of the area of interest |
buffer |
buffer around current HF |
access.raster |
raster map containing the distance to HF layer |
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) |
popurb.raster |
raster map containing the urban population layer |
name |
name of the MPS file |
is.inside |
whether CHW are placed inside the buffer (if FALSE, they are placed outside) |
write |
f TRUE, the output is written as a csv file in filepath |
filepath |
directory where to store the MPS file |
mytimeout |
maximal time (in seconds) that the function is allowed to search for the maximum |
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.