The healthequal package provides computational tools for calculating
21 summary measures of health inequality.
You can install the released version of healthequal from CRAN with:
install.packages("healthequal")The development version can be installed from GitHub with:
# install.packages("remotes")
remotes::install_github("WHOequity/healthequal")The following summary measures of health inequality are included in the
healthequal package:
- Difference (
d) - Ratio (
r)
- Absolute concentration index (
aci) - Relative concentration index (
rci)
- Slope index of inequality (
sii) - Relative index of inequality (
rii)
- Between-group variance (
bgv) - Between-group standard deviation (
bgsd) - Coefficient of variation (
covar)
- Mean difference from mean - unweighted and weighted (
mdmuandmdmw) - Mean difference from best-performing subgroup - unweighted and
weighted (
mdbuandmdbw) - Mean difference from reference subgroup - unweighted and weighted
(
mdruandmdrw) - Index of disparity - unweighted and weighted (
idisuandidisw)
- Theil index (
ti) - Mean log deviation (
mld)
- Population attributable risk (
parisk) - Population attributable fraction (
paf)
The healthequal package comes with sample data for users to be able to
test the package functions. The OrderedSample and NonorderedSample
data contain data disaggregated by economic status and subnational
region, respectively, for a single indicator.
data(OrderedSample)
head(OrderedSample)data(NonorderedSample)
head(NonorderedSample)The OrderedSampleMultipleind and OrderedSampleMultipleind data
contain disaggregated data by economic status and subnational region,
respectively, for two indicators.
data(OrderedSampleMultipleind)
head(OrderedSampleMultipleind)data(NonorderedSampleMultipleind)
head(NonorderedSampleMultipleind)For information about the datasets, type the following commands, which will display the corresponding dataset help file:
?healthequal::OrderedSample
?healthequal::NonorderedSample
?healthequal::OrderedSampleMultipleind
?healthequal::NonorderedSampleMultipleind
?healthequal::IndividualSampleSchlotheuber, A, Hosseinpoor, AR. Summary measures of health inequality: A review of existing measures and their application. Int J Environ Res Public Health. 2022;19(6):3697. doi:10.3390/ijerph19063697
