README.md

rineq

Travis-CI Build Status

Statistical Analysis of Health Inequalities

The rineq package provides functions to calculate the relative, generalized, and Erreygers corrected concentration index; plot Lorenz curves; and decompose health inequalities using (generalized) linear models, survival models, and regression and binary trees.

Available functions

Concentration index

ciCalculate the relative, generalized, or Erreygers corrected concentration index correct_signCorrect negative values in the health variable

Decomposition

contributionDecompose the Relative Concentration Index into its components rpart_ciRecursive partitioning and regression trees using the concentration index impEvaluate variable importance in rpart_ci() trees

Install

To download and install the latest development version from GitHub:

devtools::install_github("brechtdv/rineq")


brechtdv/rineq documentation built on Feb. 21, 2024, 2:18 p.m.