Description Usage Arguments Details Value
Generate HSAs
1 2 3 |
shp |
shapefile SpatialPolygonsDataFrame |
from |
patients home region |
to |
patients destination |
li_threshold |
localization index threshold |
plot |
logical; display the iterations of the HSAs (defaults to TRUE) |
verbose |
logical; display information during iterations (defaults to FALSE) |
savePlots |
character with path and name to save plots to. Will be appended with the iteration number. Plots are saved as PNGs |
... |
additional options to png (only necessary when savePlots is not NULL) |
Rownames of shp should be in common with from and to. If this is not the case, warnings (if some are missing) or errors will be issued (if no names are in common). Rownames can be set via, e.g., spChFIDs(shp, shp@data$name).
object of class hsa containing the following elements:
callcall to gen_hsa
lookupfinal lookup table
lookupsintermediate lookup tables
original_datalist containing from and to originally submitted
from: from as submitted to gen_hsa
to: to as submitted to gen_hsa
reassigned_datalist containing from and to as assigned to HSAs
from: from converted to its HSA
to: to converted to its HSA
methodmethod used to assign each region to its HSA
original_shpshapefile submitted to gen_hsa (via shp)
shpshapefile containing HSAs
iterationsnumber of iterations
lilocalization index of the HSAs
li_thresholdli_threshold option
min_interventionsmin_interventions option
nnumber of HSAs created
n_itnumber of HSAs in each iteration
n_interventionsnumber of interventions in each HSA after the final iteration
namesname of each HSA
flowflow amongst HSAs (as generated by flows)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.