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, and survival models.
Concentration index - main functions
| Function | Description |
|--------------------|-------------------------------------------------------------------------------------|
| ci
| Calculate the relative, generalized, or Erreygers corrected concentration index |
| contribution
| Decompose the Relative Concentration Index into its components |
Install the version on CRAN:
install.packages("rineq")
or download and install the latest development version from GitHub using devtools
:
devtools::install_github("kdevkdev/rineq")
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.