R-CMD-check CRAN status Project Status: Concept License: AGPL (>= 3)

healthequal healthequal website

The healthequal R package provides computational tools for calculating summary measures of health inequality.

Installation

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("WHO/healthequal")

Measures of health inequality included in healthequal:

The following summary measures of health inequality are included in the healthequal package:

Simple measures

Disproportionality measures (ordered dimensions)

Regression-based measures (ordered dimensions)

Variance measures (non-ordered dimensions)

Mean difference measures (non-ordered dimensions)

Disproportionality measures (non-ordered dimensions)

Impact measures

Package data

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.

Ordered and Nonordered data

data(OrderedSample)
head(OrderedSample)
data(NonorderedSample)
head(NonorderedSample)

Disagregated data

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)

More info on the datasets

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::IndividualSample

References:

Schlotheuber, A., & Hosseinpoor, A. R. (2022). Summary measures of health inequality: A review of existing measures and their application. International Journal of Environmental Research and Public Health, 19 (6), 3697.