Description Format Details Value Public fields Methods Examples
R6 Class representing a set of Parameters
R6 Class representing a set of Parameters
R6Class
object.
Parameters contains all the parameters related to the population and the epidemic
Object of R6Class
with all the population data.
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.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.