# Spatial concentration of health service locations and population:
data(health2)
# Population data
data(health4)
# Health service location data
gini(health2$pop)
# Gini coefficient for population
gini(health4$phys_gen)
# Gini coefficient for general practitioners
gini(health4$phys_gyn)
# Gini coefficient for gynaecologists
gini(health4$psych)
# Gini coefficient for psychotherapists
gini(health4$pharm)
# Gini coefficient for pharmacies
Run the code above in your browser using DataLab