PolyHosp.Rd
R6 Class representing a set of Parameters
R6 Class representing a set of Parameters
R6Class
object.
Object of R6Class
with all the population data.
Parameters contains all the parameters related to the population and the epidemic
nage
number of age groups
vorHBase
hospital database containing all hospital information
vorPolyHosp
the voronoi polygons
vorPolyRegion
the voronoi polygons
vorPopFiness
the population inside each polygons
vorPopRegion
the population inside each Region
new()
Create a new `PolyHosp` object.
PolyHosp$new(hospitals = NULL)
hospitals
list of hospitals on which we build the voronoi diagram
A new `PolyHosp` object.
getMap()
get the leaflet map
PolyHosp$getMap()
a leaflet map with the polygons
getPopFiness()
get the population from a specific polygon by Finess
PolyHosp$getPopFiness(finess)
finess
the finess of the specific polygon
getPopRegion()
get the population from a specific Region by name
PolyHosp$getPopRegion(region)
region
the finess of the specific polygon
clone()
The objects of this class are cloneable with this method.
PolyHosp$clone(deep = FALSE)
deep
Whether to make a deep clone.
pop = PolyHosp$new()