Draw Lorenz curves with the popular ggplot2 package and compute different inequality measures such as the Gini coefficient.
Package details 


Maintainer  
License  MIT + file LICENSE 
Version  1.0 
URL  https://github.com/jbossek/locu 
Package repository  View on GitHub 
Installation 
Install the latest version of this package by entering the following in R:

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.